Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, March 29, 2006 10:00:56 AM(UTC)


Groups: Registered
Posts: 4

I wonder which set of parameters to L_ConvertToColoredGray need I set to get sepia image from colored one.

I use v13 of LT RasterImagePro.

Thank you.


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 : Sunday, April 2, 2006 10:46:09 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

You can get a sepia look using the L_ConvertToColoredGray functions by adding a blue or brown color.
Set the parameters of the L_ConvertToColoredGray as follows to get a sepia look:
L_ConvertToColoredGray(&Bitmap, 500, 300, 200, 350, 100, -100);

Note: the ConvertToColoredGray function works as follows:
The first three parameters are to create the grayscale image, and the last three parameters are to color the gray image.
The summation of the first three parameters has to be 1000.

Maen Badwan
LEADTOOLS Technical Support

Edited by moderator Thursday, October 6, 2016 5:23:11 PM(UTC)  | Reason: Not specified

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