function [A,junk] = readjpg(filename, varargin)
%READJPG Read image data from a JPEG file.
%   A = READJPG(FILENAME) reads image data from a JPEG file.
%   A is a uint8 array that is 2-D for grayscale and 2-D for RGB
%   images. 
%
%   See also IMREAD, IMWRITE, IMFINFO.

%   Steven L. Eddins, June 1996
%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.6 $  $Date: 2000/06/01 04:17:04 $

error(nargchk(1, 1, nargin));

A = rjpgc(filename);
junk = [];
