imdisplay encountered an error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

imdisplay encountered an error

Post by jmagyari »

My setup OS WINXP Pro SP 3, all updates Pentium 4 CPU 2.53GHz, 2GIG RAM, 3 Terabytes of Hard Drive Space
I downloaded Windows binary from ImageMagick.org
Version: ImageMagick 6.5.9-0 2010-01-11 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

identify image.mpc
image.mpc MPC 19712x24320 19712x24320+0+0 8-bit DirectClass 270b 0.000u 0:00.000

imdisplay image.mpc
IMDisplayView Function [DoDisplayImage] encountered an error. Windows failed to allocate bitmap of size 24320x19712!

When trying to view an mpc image created via convert. I receive the above error.

Are their switches I should use to have ImDisplay to request fewer resources and swap memory to disk?

Or do I need a different version of ImageMagick?

How can one tell what the max size image that imdisplay can display based on a system?

thanks,
john
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: imdisplay encountered an error

Post by magick »

See http://www.imagemagick.org/script/archi ... tera-pixel. ImageMagick can read, process, or write mega-, giga-, or tera-pixel image sizes. However, imdisplay is a contributed program that we did not write. We suspect its trying to call Windows methods to create a bitmap and the Windows OS is refusing, presumably because of the huge resource demands. If you process your image with the ImageMagick standard utilities like convert, the program should complete without complaint. For example, we recently tried this command:
  • convert -monitor -define registry:temporary-path=/data/tmp -limit area 0 logo: -resize 250000x250000 logo.miff
That's close to a quarter million pixels square.
Post Reply