![]() |
![]() |
Guest_Andrew Graham_* |
![]()
Post
#1
|
Guests ![]() |
I would like to write a utility to create image thumbnails and attach them as .EAs to the images - ideally a commandline utility that I can start and let it recurse through a series of subdirectories.
That way, when I start PMView, the thumbnails will already be in the File Open dialog, rather than having to create them. To do this I would like to have more details about how PMView attaches thumbnails to an OS/2 file. I can examine the EAs myself and learn this; I suppose they are little gifs? First: has such a utility already been written? and second: if not, are there any "gotchas" that Peter can warn me about before I start? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 ![]() |
The thumnails are standard OS/2 icons stored in the .ICON EA of the file.
Storing the thumbnail is easy. The hard part will be for your application to decode the files. Of course if you only care about a few formats, say JPEG and GIF, this is no big deal... -------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 1st May 2025 - 10:18 PM |