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
 Question about dithering with Floyd-Steinberg and Co.

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
MrDeveloper Posted - Nov 17 2023 : 01:30:29
Hello Nigel and everyone else

I have a urgent question about the TImageEnProc.ConvertTo method. If I understand it correctly there are 3 overloaded versions I can use here. In one of the methods I can pass a custom palette as an array of TRGB.

My question is about TIEDitherMethod = ieDithering. Is the Floyd-Steinberg dithering applied here? If not, how can this be implemented?

The reason for my question is that I have to convert an image into 4 up to max. 6 fix defined possible colors and, due to the possible true color illusion, this e. g. would have to be best implemented with the Floyd-Steinberg algorithm. Or is there an even better algorithm for such a very limited number of colors?

Thank you for your ideas and support!
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 19 2023 : 18:46:40
Hi

Yes, if you use ieDithering and the color count >2 and <= 256, then Floyd-Steinberg dithering is applied.

You can see the effect in the "Every Method" demo in the \Demos\ImageEditing\ folder.


Nigel
Xequte Software
www.imageen.com