Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, July 20, 2010 3:40:57 AM(UTC)

henrich  
henrich

Groups: Registered
Posts: 2


I’m using Raster Imaging C++ Class Library (LT 16.5) to convert miltipage PS (v 3.0) to other raster format (for example to TIFF). When I call LFile::GetInfo(), it updates FILEINFO structure, but TotalPages member is always equal to 1. Even for multipage input file.
I tried to pass desired page number to LBitmapBase::Load(), but it just loads the first page and ignores nPage argument.
The same code works fine for PDF files.
What should I do to load whole the pages of multipage PS?
I attached simple code example that demonstrates the issue. The test files I used are placed at TestFiles subfolder.

Thank you,
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, July 20, 2010 6:17:58 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

LEADTOOLS loads PS files similar to Adobe PhotoShop. PhotoShop only opens the first page, so does LEADTOOLS.

Note: Our forums moderator deleted your project because it has unlock keys. In the future, please do not include serial numbers and unlock keys when you post on the public forums.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.094 seconds.