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
 TIEMultiBitmap 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
e1ioan Posted - Aug 10 2026 : 09:31:33
Hello,

I'm looking to apply dithering method to a TIEMultiBitmap, is there a way to do it?

Thank you!

procedure SomeProcedure(Atiff: TIEMultiBitmap);
var
  DpiX, DpiY: integer;
begin
  for var i := 0 to Atiff.Count - 1 do
  begin
    Atiff.Params[i].TIFF_Compression := ioTIFF_G3FAX1D;
    Atiff.Params[i].BitsPerSample := 1;
    Atiff.Params[i].SamplesPerPixel := 1;

    if Atiff.ImageWidth[0] <> FAX_WIDTH then
      Atiff.ResampleAll(FAX_WIDTH, Atiff.ImageHeight[0], TResampleFilter.rfProjectBW);

    // make sure the DPI is set correctly
    CalculateFaxDPI(Atiff.ImageWidth[i], Atiff.ImageHeight[i], DpiX, DpiY);
    Atiff.Params[i].DpiX := DpiX;
    Atiff.Params[i].DpiY := DpiY;
  end;
  Atiff.DuplicateCompressionInfo;
end;
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 11 2026 : 01:57:45
Hi

Do you mean converting to 1bit and dithering?

http://www.imageen.com/help/TImageEnProc.ConvertTo.html

The easiest way is to use the Proc helper (iexHelperFunctions unit):

http://www.imageen.com/help/TIEMultiBitmapHelper.Proc.html

e.g.
for i := 0 to multiBmp.Count - 1 do
  multiBmp.Proc[i].ConvertTo( ie1g, ieptFixedHalftone256, iedtOrdered8x8 );


Nigel
Xequte Software
www.imageen.com