Problem in detecting screen resolution

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
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Problem in detecting screen resolution

Post by naoliv »


Newer version of imagemagick seem to have a problem with detecting the screen resolution. For instance, when using

display -window root -backdrop picture.jpeg

now diplays the image sticking to the top left of the screen, while it used to center it nicely.

Similarly, when using display on an image larger than the screen size, the Pan Icon window appears, but the actual window used by display is the size of the image. Older versions were only displaying the biggest window that would fit into the screen and let the user navigate on the image using the Pan Icon view.

Downgrading to 6.3.7-9 fixes the problem.
Version is 6.5.1-0 and I can see the same behavior on my system.

Thank you!
User avatar
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem in detecting screen resolution

Post by fmw42 »

This seems to work for me on Mac OSX Tiger IM 6.5.1.-1 Q16

display -backdrop rose:


The documentation for -backdrop is not clear and looks like -background but without an argument (seemingly the background color):

-backdrop background color
-background color background color

Is this correct or a typo?
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem in detecting screen resolution

Post by magick »

We can reproduce the problem you reported and will have a patch for ImageMagick 6.5.1-2 Beta within a day or two. Thanks.
Post Reply