BackSpace in "display" on MNG file crashes program

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
philip_rhoades
Posts: 7
Joined: 2012-09-12T12:39:19-07:00
Authentication code: 67789

BackSpace in "display" on MNG file crashes program

Post by philip_rhoades »

People,

This seems to be an old problem? - I am using Fedora ImageMagick-6.7.0.10-4.fc16.x86_64 .

I created two and three page docs with eg:

convert t1.png t2.png t3.png t.mng

Using "display" to look at the file, shows the last page but pressing BS to look at previous pages crashes the program. I am happy to help debug, fix etc if someone can point me in the right direction.

I have been using IM for many years so it would be good to give something back . .

Regards,

Phil.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: BackSpace in "display" on MNG file crashes program

Post by glennrp »

Your command will create a single-frame MNG because here is zero delay between the images. Use -delay 100 (or any non-zero value) to make separate frames. All the same, it shouldn't crash so there is a bug. Thanks.
philip_rhoades
Posts: 7
Joined: 2012-09-12T12:39:19-07:00
Authentication code: 67789

Re: BackSpace in "display" on MNG file crashes program

Post by philip_rhoades »

glennrp,

Thanks for that! Is there some way to now tell "display" to:

- pause
- allow stepping through the frames with a key press
- automatically resize the image to screen height

?

Thanks again,

Phil.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: BackSpace in "display" on MNG file crashes program

Post by anthony »

philip_rhoades wrote:glennrp,

Thanks for that! Is there some way to now tell "display" to:

- pause
- allow stepping through the frames with a key press
- automatically resize the image to screen height

?

Thanks again,

Phil.
See IM Examples, Basics, Display
http://www.imagemagick.org/Usage/basics/#display
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply