function [status] = add_watermarks_to_all_files()
% ADD_WATERMARKS_TO_ALL_FILES: add a logo to all files in current directory
%
%
%    GENERAL
%
%      [status] = add_watermarks_to_all_files()
%
%    INPUT/S
%
%      -
%
%    OUTPUT/S
%
%      -
%
%    PENDING WORK
%
%      -
%
%    KNOWN BUG/S
%
%      -None.
%
%    COMMENT/S
%
%      -
%
%    RELATED FUNCTION/S
%
%      
%
%    ABOUT
%
%      -Created:     May 17th, 2004
%      -Last update: May 17th, 2004
%      -Revision:    0.0.1
%      -Author:      R. S. Schestowitz, University of Manchester
% ==============================================================

warning off;

listing = dir('*.jpg');
for i=1:size(listing,1),
       % skip the dots
   %if (listing(i).isdir == 0),
       % ideally take just JPEGS
      signature_photograph(listing(i).name , 'watermark.bmp');
   % end
end

status = 'Images watermarking is complete';