Recent

Author Topic: FLIF and now JPeg XL Done by Tomxe  (Read 1877 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 896
Re: FLIF and FUIF Formats (Free Lossless Image Format) Done by Tomxe
« Reply #15 on: March 05, 2025, 01:02:01 pm »
Actually, when I click and run the compiled 64bit windows exe it shows the test Jpg XL Image, but I still get an endless debug when compiling  without the Form showing.
I needed to reset the debugger to get out of compilation mode in Lazarus.

With the previous V1 attachment JPeg XL 64Bit read test.zip  there was also a invalid buffer load error.
Not sure, but there maybe some variation in the format of the JPeg XL test images.
« Last Edit: March 05, 2025, 01:23:11 pm by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 896
Re: FLIF and FUIF Formats (Free Lossless Image Format) Done by Tomxe
« Reply #16 on: March 05, 2025, 01:43:35 pm »
Tomxe, I think the compiling problem in Windows 10 Lazarus 64bit was with the dll files from your Github page.

I replaced them with the dll files from
https://github.com/libjxl/libjxl/releases/download/v0.11.1/jxl-x64-windows.zip

and added the libjxl.dll from your github page

and now the test code compiles well in the Lazarus IDE and shows the test form and loads the test image.
« Last Edit: March 05, 2025, 01:50:52 pm by Boleeman »

Tomxe

  • New Member
  • *
  • Posts: 45
Re: FLIF and FUIF Formats (Free Lossless Image Format) Done by Tomxe
« Reply #17 on: March 05, 2025, 06:18:33 pm »
That's weird. Those DLLs work just fine for me under 64 bit Windows 10. Can you send your JPEG XL file?
« Last Edit: March 05, 2025, 08:02:57 pm by Tomxe »

Boleeman

  • Hero Member
  • *****
  • Posts: 896
Re: FLIF and FUIF Formats (Free Lossless Image Format) Done by Tomxe
« Reply #18 on: March 06, 2025, 08:20:58 am »
Attached is the Jpeg XL picture file that gives an invalid buffer size error when loading.
I am using 64 bit Windows 10 and Lazarus 64bit compile on a Dell AMD A9 cpu laptop.
I got the image file from the Github example files located at

https://github.com/alistair7/jxl-community.github.io/tree/main

Also noticed looking at the releases from https://github.com/libjxl/libjxl/releases/ 

it seems there have been quite a few Huffman lookup table size fixes.
Perhaps these continual fixes have changed the file format slightly to cause the invalid buffer size error?

I also attached a Lazarus test program for that buffer size error.



Also found that the original dlls from your github repo is for some reason now compiling and showing the form
yet yesterday it was stuck in continual debug mode, without the form popping up. Go figure. I don't know why?
« Last Edit: March 06, 2025, 08:48:08 am by Boleeman »

Tomxe

  • New Member
  • *
  • Posts: 45
Re: FLIF and now JPeg XL Done by Tomxe
« Reply #19 on: March 06, 2025, 07:19:41 pm »
Maybe that's an antivirus problem, interfering with debugging.

Boleeman

  • Hero Member
  • *****
  • Posts: 896
Re: FLIF and now JPeg XL Done by Tomxe
« Reply #20 on: March 07, 2025, 02:19:44 pm »
Not sure if antivirus is the source of the problem Tomxe so I will try out JPeg XL on a few other laptops to see if it works correctly on them.

Also thought that perhaps some component or driver may have not been installed correctly.
Seemed strange that after I replaced the dlls that both Lazarus sources of JPeg XL worked to compile and load "test.jxl".
I still get that "invalid buffer size error" when trying to load the picture file "Background-hologram.jxl"

 

TinyPortal © 2005-2018