AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



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/