Recent

Author Topic: JPeg Save to file/stream problem under Macos/Ubuntu  (Read 1558 times)

zgabrovski

  • New Member
  • *
  • Posts: 33
JPeg Save to file/stream problem under Macos/Ubuntu
« on: January 21, 2021, 11:42:40 pm »
Can somebody else check the problem desribed here?
https://bugs.freepascal.org/view.php?id=38359

Lazarus 2.1.0 r64392 FPC 3.3.1 x86_64-linux-gtk2 - NOT working
Lazarus 2.1.0 r63994M FPC 3.3.1 x86_64-linux-gtk2 - WORKING
Lazarus 2.1.0 r64160M FPC 3.3.1 x86_64-darwin-cocoa - NOT Working
Lazarus 2.1.0 r64392M FPC 3.3.1 x86_64-win64-win32/win64 - WORKING

installation through fpcupdeluxe.
Thanka!

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: JPeg Save to file/stream problem under Macos/Ubuntu
« Reply #1 on: January 22, 2021, 12:09:53 am »
Your test project on an Intel Mac mini produced this output when run from Terminal when a save was attempted (which failed):

$ ./testjpg
DCT coefficient out of range
WARNING: TButton.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: JPeg Save to file/stream problem under Macos/Ubuntu
« Reply #2 on: January 22, 2021, 12:35:01 am »
Curiously, when compiled on an M1 Mac mini (aarch64) it works as expected. All relevant version details are in my signature.

 

TinyPortal © 2005-2018