ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 24bit color to 16/256 colors with dithering

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
suriyont Posted - Jul 16 2014 : 12:30:19
I am using ImageEn to replace out the old image library called Envision. What I am struck with is the ability to convert 24bit color to 16/256 colors with dithering applied. I tried ConvertTo() procedure and pass ieOrdered dithering method. It does not seem to do anything. Any help is appreciated.

PS: I've attached the sample 16-color dithered bmp file.

Suri





Suri M.
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 29 2014 : 17:54:57
Hi Suri

Please email me. Our latest beta can reduce colors using the Floyd-Steinberg dithering algorithm. You can call it as follows:

ImageEnView1.proc.ConvertTo(16, ieDithering);

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
suriyont Posted - Jul 25 2014 : 13:50:38
Hi Bill,

Thanks for the attached sample. It does not seem to to have dithering process applied, though. With dithering, the gradient would look smoother. I am just trying to find out why ConvertTo() does not process the dithering as intended. Or does dithering only applies to B/W?

Thanks,
Suri

Suri M.
w2m Posted - Jul 25 2014 : 11:14:50
Here is your image converted to 256 colors. Is this ok?


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
suriyont Posted - Jul 25 2014 : 06:51:30
Hi Nigel,
Here is the 24-bit image uncompressed. Let me know if you need anything else:

./attach/suriyont/201472565010_24bitInvoice.zip

Suri M.
xequte Posted - Jul 24 2014 : 13:04:45
Hi Suri

Can you please attach an example of the source image (before ImageEn does the conversion)?




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
suriyont Posted - Jul 18 2014 : 06:15:04
Sorry, I was not being clear. That was the sample of the dithered image that I wanted to achieve. The new attached image is the one from ImageEn library.



Suri M.
xequte Posted - Jul 16 2014 : 22:30:05
Hi Suri

Sorry, what do you mean by "it doesn't do anything"? Specifically what result do you get?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com