Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using GDI+ for changes from color to Gray
Message
From
06/05/2008 04:53:13
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
 
 
To
05/05/2008 11:44:29
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01315104
Message ID:
01315260
Views:
30
Dear Cesar

How are you ?
I know you are very interested in using GDI :)
In fact, i would like to convert the color jpg to 1bit black/white file for special purpose printing. could you enlighting me ? Tks



>>Check http://weblogs.foxite.com/vfpimaging/archive/2006/02/13/1139.aspx
>>
>>>May i know how to using GDI+ to changes JPG file from color to 16 Grays ?
>>>Any help would be appreicated.
>
>Thanks Sergey,
>
>In fact, the article that Sergey pointed is an old one, before GdiPlusX was released. In that times I created a subclass of GPIMAGE from _GdiPlus.vcx that added the ImageAttributes class, that facilitates creating effects with GDI+
>
>
>The most recommended resorce for this task is a more recent article in UTMAG:
>
>Special effects on images with new GDIPlus-X classes - Part 2
>http://www.utmag.com/ViewPageArticle.aspx?Session=76616B4D7A654864476D593D204E7834377858773754753374697357646432567761773D3D
>
>The first part contains some interesting tips as well:
>
>Special effects on images with new GDIPlus-X classes - Part 1
>http://www.utmag.com/ViewPageArticle.aspx?Session=53765263314B62777A61493D2049536458442F42433865523147482B42487A4B514E673D3D
>
>
>As you want to have only 16 colors in GrayScale, some adaptations will be needed in thecode, but this is not complicated.
>
>Hope this helps
>
>Cesar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform