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
 G4 Fax-Compression Quality

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
Christian Posted - Nov 23 2012 : 00:57:51
Hi,

I'm using ImageEn (Version 4.0.2) to compress TIFF-Images (Output from AutoCad) from LZW to Group4 Fax. As you can see in the attached files, the quality of the contained photo is very bad after the process.

For comparison, I attached an output from IrfanView (Save as -> Tiff (G4 Fax)).

Is there any possibility to enhance the quality?

Thanks in advance,

Christian



Download Attachment: 2012112305615_Test.zip
2   L A T E S T    R E P L I E S    (Newest First)
Christian Posted - Nov 23 2012 : 07:37:25
Hi Fabrizio,

thank you very much, that was exactly what I was searching for. The FloydSteinberg algorithm worked out perfectly for me :)

fab Posted - Nov 23 2012 : 06:05:58
Hi,
this is not related to the compression used. The quality depends by the algorithm used to convert from gray scale to black/white.
For default ImageEn used a threshold, that makes better compression but low quality (when there are images inside the document).
You can use another algorithm converting the image to B/W manually, for example:

ImageEnView1.Proc.ConvertToBW_FloydSteinberg();

or

ImageEnView1.Proc.ConvertToBWLocalThreshold

or

ImageEnView1.Proc.ConvertToBWOrdered()

Do it before save. It seems IrfanView uses a dithering algorithm (like ConvertToBWOrdered).