Loading...

Page Count without Scanned

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Page Count without Scanned

Postby kviral » Thu Oct 01, 2009 4:28 pm

HI,

I want to get Total Page of a TIFF file which I’ve merged through GD Picture without scanning, how can I achieve it ?
It asks for nImageID, now without scanning how can I get nImageID of resulted image or any local image?

I've GD Picture Light.

Thanks & Regards,
Viral Kothari
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: Page Count without Scanned

Postby Loïc » Sat Oct 03, 2009 9:42 am

Hi,

- How are you merging your files ?
- Could you provide a code snippet ?


Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Page Count without Scanned

Postby kviral » Mon Oct 05, 2009 9:05 am

Hi,
Following is the code to Merge files,

Code: Select all
Imaging1.TiffMerge2Files(<First file path>, <second file path>, <New Merged File path>)


and to get this merged file into Imaging, following code is being used.

Code: Select all
Imaging1.CreateImageFromFile (<New Merged File path>)


-Thanks,
viral kothari
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: Page Count without Scanned

Postby Loïc » Tue Oct 06, 2009 9:51 am

Hi,

Just use the TiffGetPageCount() method.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Page Count without Scanned

Postby kviral » Tue Oct 06, 2009 10:11 am

Hi,

I've already check that mathod, but TiffGetPageCount required nImageID, how can we get it without scan it.
Please keep in mind that i've mentioned my limitation initially only, that i'm not gonna scan, i'm just using GD picture Light to combine two TIFF files into One.

-viral
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: Page Count without Scanned

Postby Loïc » Tue Oct 06, 2009 2:35 pm

The ImageId can be got using the GetNativeImage method.

Kind regards,

Loïc

PS: i moved your post from GdPicture.NET to GdPicture ActiveX !
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Page Count without Scanned

Postby kviral » Fri Oct 23, 2009 3:35 pm

yes, thanks, we could achieve it.
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: Page Count without Scanned

Postby gcazajous » Fri Oct 23, 2009 4:20 pm

Thank you for the feedback !

Gaël.
User avatar
gcazajous
 
Posts: 5
Joined: Sat Aug 29, 2009 5:38 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest