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 : Monday, April 24, 2006 9:09:42 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

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

This example shows how to load an image into the BITMAPHANDLE, then convert the BITMAPHANDLE into a RasterImage.

 

File Attachment(s):
API NET - V14 - BITMAPHANDLE To RasterImage.zip (354kb) downloaded 196 time(s).
Travis Montgomery
Senior Sales Engineer
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.

#2 Posted : Tuesday, March 20, 2012 5:53:59 AM(UTC)

Ibrahim  
Guest

Groups: Guests
Posts: 3,022

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

I've updated this project to use the LEADTOOLS v17.5 in VB.NET using Visual Studio 2008. Copy the "Test.jpg" file to the c:\ drive to test the project without modifying it.
File Attachment(s):
VBNET_V175_BITMAPHANDLEToRasterImage.zip (424kb) downloaded 189 time(s).
 
#3 Posted : Tuesday, March 20, 2012 5:56:50 AM(UTC)

Ibrahim  
Guest

Groups: Guests
Posts: 3,022

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

I've updated this project to use the LEADTOOLS v17.5 in C# using Visual Studio 2008. Copy the "Test.jpg" file to the c:\ drive to test the project without modifying it.
File Attachment(s):
CS_V175_BITMAPHANDLEToRasterImage.zip (30kb) downloaded 187 time(s).
 
#4 Posted : Monday, October 2, 2017 10:26:06 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

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

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.

Uses Visual Studio 2010 (v100) compatible CDLL toolset found in "C:\LEADTOOLS 19\Bin\CDLLVC10\", chooses "Win32" or "x64" subfolder automatically.
There is no longer an included "Test.jpg", instead it uses "cannon.jpg" from the "LEADTOOLS Images" folder.
Changed conversion method to use an intermediate of Windows device independent bitmap (DIB). First converts the BITMAPHANDLE to a DIB via L_ConvertToDIB(), then converts to a RasterImage via RasterImage.FromDib()
File Attachment(s):
CS_BITMAPHANDLEToRasterImage.zip (12kb) downloaded 187 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-2024, Yet Another Forum.NET
This page was generated in 0.101 seconds.