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, April 3, 2015 5:50:39 AM(UTC)

Joe N  
Guest

Groups: Guests
Posts: 3,049

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

Here are some quick examples showing how to strip the alpha channel from a 32 or 64 bit image when loading or using the ColorResolutionCommand (L_ColorResBitmap).

The attached examples are written in C#, Visual Basic, and C
File Attachment(s):
RemoveAlpha.zip (1,187kb) downloaded 196 time(s).
 

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 : Friday, March 16, 2018 9:29:06 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 174

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

Updated the above examples for v20 using Visual Studio 2017. Note, the examples assume the SDK is installed in its default location (C:\LEADTOOLS 20). If you've installed in another location, you'll need to modify all references to this path.

File Attachment(s):
RemoveAlpha.zip (11kb) downloaded 141 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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-2018, Yet Another Forum.NET
This page was generated in 0.172 seconds.