| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
2007.04.29 10:27 "VBScript and ImageMagick for Couting tiff pages", by <laxqiun@hotmail.com>I found a way for VBScripts:
Using ImageMagick-6.3.3-Q16
<VBScript-on>
Set img = CreateObject("ImageMagickObject.MagickImage.1")
msgs = img.Identify ("-format","%p", "C:\2page.tif")
MsgBox msgs
</VBScript-off>
That prints the number of pages perfectly. But when using certain tiff files
i get this error:
identify: 2page.tif: wrong data type 4 for "Orientation"; tag ignored.
'TIFFReaderDirectory'
I can turn off error handling within VBScript but it doesn't read the page
number.
It works perfectly with normal tiff files.
Can I turn off error messages withing ImageMagick?
_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América
Latina y USA: http://latam.msn.com/empleos/
|
|||||||