Recent

Author Topic: JPeg Save to file/stream problem under Macos/Ubuntu  (Read 915 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: 1592
  • 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?
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1592
  • 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.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018