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
 Problems converting tiff to pdf

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 - Jun 05 2025 : 14:32:37
I'm using ImageEn to convert tiff files into pdf and it works fine most of the time. Now some users were complaining that the PDF has black lines on them. The tiff file seem fine, but when converting it to pdf the lines appear.

Here is the code I'm using for the conversion.


    mio := TImageEnMIO.Create(nil);
    try
      mio.LoadFromFileTIFF(TiffFileName);
      mio.SaveToFilePDF(PDFFileName);
    finally
      mio.Free;
    end;


Also, the tiff file is attached.

attach/e1ioan/202565142747_bad-black-line.tiff
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 07 2025 : 16:26:41
Hi

I think that software is creating malformatted images.

Nigel
Xequte Software
www.imageen.com
e1ioan Posted - Jun 07 2025 : 08:21:33
I get thousands of tiff images every hour, created by the same software. Majority are fine, some of them have this problem.
xequte Posted - Jun 06 2025 : 18:49:30
Hi

The issue is not with the conversion, it is with the loading as the same thing happens if you just use ImageEnView1.IO.LoadFromFile( 'bad-black-line.tiff' ).

It is a standard TIFF format (G3FAX2D) so it should load fine, but none of the viewers I have on this system can load it without error (I don't have IrfanView), so presumably it is just corrupted.

Are the other ones that fail from the same set?


Nigel
Xequte Software
www.imageen.com
e1ioan Posted - Jun 06 2025 : 10:23:48
Hi Nigel,

IrfanView opens the tiff fine. Also ImageEn can convert it into pdf, but the pdf has a black bar over some of the text. Maybe the one I sent got to you corrupted.

Majority of the tiff files convert fine to pdf, but some have this problem.

You can get the original tiff from here:
https://download.pangea-comm.com/ftp/temp/bad-black-line.tiff
and the pdf created
https://download.pangea-comm.com/ftp/temp/bad-black-line.pdf


This is how it looks like in IrfanView:



And this is the pdf:



xequte Posted - Jun 06 2025 : 00:53:17
Hi

This TIFF file is either corrupted or an unsupported type. I cannot get any viewer to load it.

Are you having issues with other TIFF files or just this one?

Nigel
Xequte Software
www.imageen.com