Recent

Author Topic: Does anyone have experience using OpenCV in Lazarus?  (Read 7143 times)

xiyi0616

  • New Member
  • *
  • Posts: 44
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #30 on: July 17, 2025, 02:05:25 pm »
 ::)  Group 4 TIFF images don't seem to be supported by the current Lazarus standard libraries and controls.

gues1

  • Guest
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #31 on: July 17, 2025, 02:09:44 pm »
If you run under Windows, you can use the WICImage (aka Microsoft Windows Imaging Component).
It  supports BMP, GIF, ICO, JPEG, PNG, TIFF, and Windows Media Photo.

I used it for a long time (still use somtimes) untill I switched to professional imaging libraries.

In Delphi is incapsultaed under TWICImage class (Graphics unit), in Lazarus I don't know but I think should be.

I use only tiff files for analisys and I never had any issues with it.

xiyi0616

  • New Member
  • *
  • Posts: 44
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #32 on: July 17, 2025, 02:15:39 pm »
Thank you , gues1

Unfortunately, my target environment is Linux, although I can use Windows for development.  :-\

cheers,
xiyi0616

gues1

  • Guest
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #33 on: July 17, 2025, 02:31:41 pm »
Many years ago I used Vampyre library, now here: https://imaginglib.sourceforge.io/index.php?page=down , hope it is the same, and it is compatible with FPC (with source).

It worked with tiff.

xiyi0616

  • New Member
  • *
  • Posts: 44
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #34 on: July 17, 2025, 02:54:38 pm »
Thanks again gues1,

I will try it.  I think this is useful; for solving a single objective problem, this should be quite concise.
 :)

xiyi0616.

xiyi0616

  • New Member
  • *
  • Posts: 44
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #35 on: July 18, 2025, 11:35:27 am »
Hey, gues1 

The library from [https://imaginglib.sourceforge.io/index.php?page=down] can decode Tiff Group 4 file.

And it's very convenient; for a Linux environment, there's no need to install extra libraries.

 :)

xiyi0616

gues1

  • Guest
Re: Does anyone have experience using OpenCV in Lazarus?
« Reply #36 on: July 18, 2025, 03:50:58 pm »
Hey, gues1 

The library from [https://imaginglib.sourceforge.io/index.php?page=down] can decode Tiff Group 4 file.

And it's very convenient; for a Linux environment, there's no need to install extra libraries.

 :)

xiyi0616

I'm very glad I could help you.

 

TinyPortal © 2005-2018