ER: natural numbering of images in display

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

ER: natural numbering of images in display

Post by yecril71pl »

When you display a multi-image TIFF, here is what I get in the window title:
… [0 of 2]
… [1 of 2]
It is quite confusing. I would rather have:
… [1 of 2]
… [2 of 2]
Version: ImageMagick 6.6.7-9 2011-02-23 Q16
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ER: natural numbering of images in display

Post by magick »

The format is 'frame of total-#-of-frames'. Some images are extracted from an image sequence and may have a frame / scene # of say 64 with 10 frames. In this example you get [64 of 10]. We'd like to continue to display the frame # since it can be quite meaningful, however, we could change the 'of' to something less misleading. Any suggestions?
User avatar
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

Re: ER: natural numbering of images in display

Post by yecril71pl »

You are obviously comparing incompatible things here. How about dropping "of 10"? Because "of 10" clearly wants an ordinal number, not a page symbol. It is not a question of wording; this juxtaposition is invalid, and giving the total without letting the user know the material position is useless.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ER: natural numbering of images in display

Post by anthony »

Actually I am looking at page/scene numbering in IM images (as part of trying to fix some percent escapes problems in -set functions (Set only ever sees one image so %s and %p is always 0!)

It seems to me that IM is only storing one number in the image meta-data the 'scene' number from when the image was last read, or the last -scene option. That number is important and should be preserved.

But it does not seem to have a way of storing what image index, this image has in the current image sequence!
That number is different and can be very important.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply