Recent

Author Topic: Some tiff file not support with Image  (Read 760 times)

xiyi0616

  • New Member
  • *
  • Posts: 12
Some tiff file not support with Image
« on: June 12, 2024, 09:32:54 pm »
I am bad english.

I encountered an exception error while calling the TTiffImage LoadFromFile function.
"
"compression CCITT Group4 fax encoding not supported yet at position 38"

How can I get some solutions?
« Last Edit: June 12, 2024, 10:10:26 pm by xiyi0616 »

jamie

  • Hero Member
  • *****
  • Posts: 6735
Re: Some tiff file not support with Image
« Reply #1 on: June 13, 2024, 12:02:00 am »
Read here/

https://en.wikipedia.org/wiki/Group_4_compression

Looks like an improvement over G3 with simple EOL removals.

be the first to add it to the TIFF format  :D
The only true wisdom is knowing you know nothing

xiyi0616

  • New Member
  • *
  • Posts: 12
Re: Some tiff file not support with Image
« Reply #2 on: June 13, 2024, 01:00:23 am »
Thank you for reply!

 Are there any ready-made decoding components in FreePascal? (It's too troublesome to decode by myself)

LibTiff can handle the Group4 format. There is a corresponding Delphi version called LibTiffDelphi. Can it be converted to a Lazarus version?
« Last Edit: June 13, 2024, 11:41:31 pm by xiyi0616 »

 

TinyPortal © 2005-2018