Large size images

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
paulohess
Posts: 8
Joined: 2011-11-09T12:10:04-07:00
Authentication code: 8675308

Large size images

Post by paulohess »

Hi

I have an image around 2G and am trying to use "convert" to create a JPG thumb.
I get this error :
convert: unable to open image a.TIF - Value too large for defined data type.

For the sake of the image quality, I can't re-size the original image ...

is there any parameter or way to make IM read the image in ...

Thanks
P.H.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Large size images

Post by fmw42 »

What platform/OS and what version of IM are you using. What is the actual width x height of the image? Is that beyond the tiff specs? If you are running out of memory, then see http://www.imagemagick.org/Usage/files/#massive

Can you do

identify -verbose image.tif

on your image without error?
paulohess
Posts: 8
Joined: 2011-11-09T12:10:04-07:00
Authentication code: 8675308

Re: Large size images

Post by paulohess »

I can't run:
$ identify -verbose F8V0.TIF
identify: unable to open image `F8V0.TIF': Value too large for defined data type.

W =7707
H= 9431

Horizontal & Vertical Resolutions: 400 dpi
bit depth = 48
image size: 2.03 GB (2,180,014,080 bytes)

running: SunOS 5.10 Generic_147440-12 sun4u sparc SUNW,Sun-Fire-V440

ImageMagick-6.7.7
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Large size images

Post by fmw42 »

Are you able to post a link to your file so others can test it? And what is your exact command line?
paulohess
Posts: 8
Joined: 2011-11-09T12:10:04-07:00
Authentication code: 8675308

Re: Large size images

Post by paulohess »

actually it works ... I, by mistake, was running an older version.

Thank you.
PH
Post Reply