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 (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.4 $  $Date: 1998/05/06 17:46:14 $

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

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