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:44:26 PM(UTC)

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 48


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.

Code:
RasterCodecs codecs = new RasterCodecs();
codecs.Options.Load.AllPages = 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/leadtools/v19m/dh/co/codecsloadoptions-allpages.html

Edited by moderator Thursday, November 2, 2017 9:12:32 AM(UTC)  | Reason: Not specified

Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
nick@leadtools.com
www.LEADTOOLS.com
 

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-2017, Yet Another Forum.NET
This page was generated in 0.104 seconds.