This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, July 20, 2010 3:40:57 AM(UTC)
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,
#2
Posted
:
Tuesday, July 20, 2010 6:17:58 AM(UTC)
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.