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?".
myspacee
Posts: 153 Joined: 2007-06-14T02:09:35-07:00
Post
by myspacee » 2014-03-02T13:19:30-07:00
Hello,
try to emulate this command:
Code: Select all
i_view32.exe 1k.tif /resize_long=2048 /resample /aspectratio /convert=2k.tif
but i encoutered an error. Try to simple convert my tif to JPG without luck.
Using : Windows 2003 - ImageMagick-6.8.8-7-Q16-x86-windows
Return this error:
Code: Select all
convert.exe: Unknown field with tag 32781 (0x800d) encountered. `TIFFReadDirect
ory' @ warning/tiff.c/TIFFWarnings/850.
convert.exe: unable to extend cache `m.tif': No space left on device @ error/ca
che.c/OpenPixelCache/3691.
Can't post now my file but can post Identify log:
Code: Select all
Image: m.tif
Format: TIFF (Tagged Image File Format)
Mime type: image/tiff
Class: DirectClass
Geometry: 22349x31504+0+0
Resolution: 1270x1270
Print size: 17.5976x24.8063
Units: PixelsPerInch
Type: Bilevel
Base type: Bilevel
Endianess: MSB
Colorspace: Gray
Rendering intent: Undefined
Gamma: 0.454545
Background color: gray(255)
Border color: gray(223)
Matte color: gray(189)
Transparent color: gray(0)
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 22349x31504+0+0
Dispose: Undefined
Iterations: 0
Compression: Group4
Orientation: TopLeft
Properties:
comment: Magenta
date:create: 2014-03-02T21:09:56+01:00
date:modify: 2014-03-01T21:25:32+01:00
signature: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
tiff:endian: lsb
tiff:image-id: 1. M@0@01032014204042@X_20140302_NUOVAFERRARA_FER_17@375813.ps (M)
tiff:photometric: min-is-white
tiff:rows-per-strip: 93
Artifacts:
filename: m.tif
verbose: true
Tainted: False
Filesize: 2.314MB
Number pixels: 704.1M
Pixels per second: 1.7342GB
User time: 0.031u
Elapsed time: 0:01.406
Version: ImageMagick 6.8.8-7 Q16 x86 2014-02-13 http://www.imagemagick.org
can suggest any correction ?
Thank you,
m.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2014-03-02T13:38:03-07:00
convert.exe: Unknown field with tag 32781 (0x800d) encountered. `TIFFReadDirect
ory' @ warning/tiff.c/TIFFWarnings/850.
convert.exe: unable to extend cache `m.tif': No space left on device @ error/ca
che.c/OpenPixelCache/3691.
The first is just a warning and can be ignored. There is a text field in the tiff file that IM does not understand.
As a guess, the second might be that your TMP (TEMP?) directory is full. I do not use windows, so cannot tell you where to find it.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2014-03-02T14:32:45-07:00
Geometry: 22349x31504+0+0
This is a huge file in pixel dimensions. You may be running out of memory and IM is then using hard disk space or you may have a full tmp directory.
See
http://www.imagemagick.org/Usage/files/#massive
myspacee
Posts: 153 Joined: 2007-06-14T02:09:35-07:00
Post
by myspacee » 2014-03-02T14:38:40-07:00
I know that are huge in dimensions,
and this is why i try to resize them...
I'm reading IM 'Really Massive Image Handling' section right now, anyone can suggest a strategy to handle files like these ?
I really want to remove IrfanView and convert script to Imagemagick.
m.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2014-03-02T14:41:13-07:00
worked fine for me on IM 6.8.8.7 Mac OSX. It took 4 minutes on my computer to finish. I only get the warning. The image looks fine.
Check your TMP directory and see if it is full.
dlemstra
Posts: 1570 Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:
Post
by dlemstra » 2014-03-02T14:43:11-07:00
Your image takes around 11 gigabyte disk space with the Q16 version of ImageMagick. Do you have enough free space available on your disk?