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 : Friday, October 13, 2017 2:39:26 PM(UTC)

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 163

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

By default, the RasterCodecs.Load() call only loads the first page in an image. This behaviour can be modified to load all pages in a RasterImage by setting the value of the CodecsLoadOptions.AllPages property to true.

C#
Code:
RasterCodecs codecs = new RasterCodecs();
codecs.Options.Load.AllPages = true;


Java
Code:

RasterCodecs codecs = new RasterCodecs();
codecs.getOptions().getLoad().setAllPages(true);


Note for high-resolution images memory consumption will increase based on the number of pages in the image loaded.

https://www.leadtools.com/help/sdk/dh/co/codecsloadoptions-allpages.html

Edited by moderator Wednesday, December 27, 2023 1:17:36 PM(UTC)  | Reason: updated

Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

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.

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.034 seconds.