Recent Posts

Pages: [1] 2 3 4 ... 10
Suggestions, Feature Requests, Contributions / Re: Thread Safety
« Last post by Galfar on 10 November 2017, 00:58:54 »

yes the library is not really thread safe -
most of the library core is from 2003 & 2004 with no thread safety in mind.

Of course, it's been sitting in my todo list for a long time now.
There are several suspect places mostly related to image loading and saving,
rest of the library should be quite ok.
What I'm mostly worried about is that used 3rd party libs like OpenJpeg and libtiff
would cause problems.

Anyway, improvements to thread safety are planned but that "time for the library" is still very limited :(

Suggestions, Feature Requests, Contributions / Thread Safety
« Last post by Hugie on 8 November 2017, 13:51:46 »
Hi Galfar,

about a year ago, we detected that the library seems not to be thread safe.

We had 2 threads decoding hundreds of jpegs in a row, which always resulted in unpredictable crashes.
We found some code positions, where global variables were used, which caused the crash.

We fixed it by serializing the decoding calls.

There were some plans in testing the introduction of threadvars for these variables, but since the bug was solved, there was no need from "above" for this anymore ;)
Sadly, i lost the documentation of the code positions which caused this.

In general, are their any plans to make the library thread safe by yourself?
I am asking now, since you seem to have time for this awesome library again ;)
No Problem..
Thx for your work. We really appreciate it.  :)
Precompiled LibTiff for FPC has been finally added to Imaging for Win32 and Win64.
In Linux it's now using dynamic linking to libtiff since there it's already installed on most systems or simple to install where not.

Thanks for the patch, finally applied it.

Imaging now has up to date repos also here:
Bugs And Other Insects / Re: Image list corruption in Lazarus
« Last post by Surachaiy on 2 November 2017, 10:32:57 »
How can we fix those damages?
News & Announcements / Re: Imaging 0.24.2 Released!
« Last post by Surachaiy on 2 November 2017, 10:31:22 »
Imaging 0.24.2 Unde pot să-l descarc?
Suggestions, Feature Requests, Contributions / Re: Rotate Image
« Last post by XanxusNagi on 3 October 2017, 11:53:50 »
Apologies for bumping, but I would like to join
Help & Questions / Re: Animated PNG (APNG)
« Last post by HarlanDe on 22 August 2017, 09:25:09 »
Hi all.

How can i show my PNG file animated on transparent window? (Some SplashLogo...)


Hi did you find out if this is possible?
Help & Questions / Re: Sample code for APNG Support
« Last post by Isaev on 10 May 2017, 14:00:29 »
Basically you need to load the image into TMultiImage and then convert each frame to VCL TBitmap descendant which you can easily display on form.
Code: [Select]
  FImage: ImagingClasses.TMultiImage;
  FImage := TMultiImage.Create;
  //img1.Picture.Bitmap.Assign(FImage); ???
How to display animation in TImage? Whether it is possible or I need ExtraGIF?
write an example of use if it isn't difficult, for apng file
Pages: [1] 2 3 4 ... 10