Re: Generate thumbnails
Stii having problems ...
convert -resize 10x10% DSCF0134.JPG DSCF0134.jpg
convert: no decode delegate for this image format `DSCF0134.JPG'.
cp DSCF0134.jpg dscf0134.jpg
mogrify -scale 10x10% dscf0134.jpg
mogrify: no decode delegate for this image format `dscf0134.jpg'.
On Mon, 2006-03-06 at 10:37 -0500, Michael Marsh wrote:
> On 3/6/06, Craig M. Houck <chouck@binghamton.edu> wrote:
> > What is any easy to use program to generate thumbnails from a 'full sized'
> > image?
>
> convert or mogrify is probably the easiest.
>
> > I have tried many programs found using apt-cache search BUT either I am to
> > stoopid to figure them out or they really don't do what I want.
> >
> > Fore xample:
> > convert image.JPG -resize 10% images.jpg complains.
>
> It complains for two reasons:
> 1) The options are supposed to come before the input file (though it
> might be smart enough to figure this out; and
> 2) Your -resize option is under-specified.
>
> Try
>
> convert -resize 10x10% image.JPG images.jpg
>
> or
>
> cp image.JPG images.jpg
> mogrify -scale 10x10% images.jpg
>
> I have a perl script that generates web pages for digital photos that
> includes the snippet:
> foreach $a (@files)
> {
> `cp $a small/`;
> `mogrify -scale 30x30% small/$a`;
> `cp $a thumbnail/`;
> `mogrify -scale 4x4% thumbnail/$a`;
> ...
> }
>
> That's for 5Mpx images, which is why the thumbnail size is only 4%.
>
> --
> Michael A. Marsh
> http://www.umiacs.umd.edu/~mmarsh
> http://mamarsh.blogspot.com
>
Reply to: