LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Sepia image with L_ConvertToColoredGray
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#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.
#2
Posted
:
Sunday, April 2, 2006 10:46:09 PM(UTC)
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.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
Edited by moderator Thursday, October 6, 2016 5:23:11 PM(UTC)
| Reason: Not specified
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Sepia image with L_ConvertToColoredGray
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.