Thread: thumbnail sizes
View Single Post
  #59  
Old January 12th 18, 06:46 PM posted to rec.photo.digital
Mayayana
external usenet poster
 
Posts: 1,514
Default thumbnail sizes

"Phillip Helbig (undress to reply)" wrote

| Are the originals the same aspect ratio?
| If not then you might be getting something
| like a 105x65 and a 105x50. You also didn't
| spec the compression level with the quality
| parameter. (Assuming you're using ImageMagick
| as Carlos speculated.)
|
| Oh, I'm more than 95% certain :-)
|
| Aspect ratio is the same.
|

Then the only other thing I can think of is that
the cameras are saving at different quality levels
and IM is copying them. Their docs say that's what
it tries to do: Set quality at the same level as it
was saved when possible. You could test it by
setting the quality. That might be a good idea,
anyway. If the camera saved at, say, 90, then
IM is going to save a 90 version of a 90.
You can also just check the quality setting of
the cameras, or the resulting photos. Many viewers
will show the quality level of the last save.

I wrote myself a VBScript to extract thumbnails.
I also wrote an HTA (using an Internet Explorer window)
to show images as thumbnails and click one to
view it larger. That won't do you any good on
Linux, but the idea might be adaptable if you're doing
this locally. It wasn't clear to me whether you're
dynamically loading them to view on your computer
or just creating them once for a website.

If it's local, you may not need to resize at
all. IE (and presumably other browsers) is amazingly
fast and efficient at resizing for display. If you
generate a webpage with:
IMG SRC="D:\bigpic.jpg" WDITH=105 HEIGHT=70
you can very quickly generate a thumbnail sheet
dynamically from full-size images.
Of course you wouldn't want to do it that way
online because it would be slow and your visitors
would need to download the big version.

In case it's useful, here's the thumbnail extractor
package:
http://www.jsware.net/jsware/scrfiles.php5#jpginf

It could probably run in WINE. You just drop a
folder onto it and all available thumbnails are
extracted. But I wouldn't bee surprised if there's
a Linux tool to do the same thing.

And here's the thumbnail viewer:

http://www.jsware.net/jsware/scrfiles.php5#picview

Sample pics he

http://www.jsware.net/jsware/linkpics/tview1a.jpg
http://www.jsware.net/jsware/linkpics/tview2.jpg