Recent

Author Topic: New version of BGRABitmap  (Read 310974 times)

Gigatron

  • Full Member
  • ***
  • Posts: 219
  • Amiga Rulez !!
Re: New version of BGRABitmap
« Reply #735 on: August 06, 2024, 03:02:38 pm »
Great news  and good job;

Thank you @circular
Sub Quantum Technology ! Gigatron 68000 Colmar France;

circular

  • Hero Member
  • *****
  • Posts: 4397
    • Personal webpage
Re: New version of BGRABitmap
« Reply #736 on: August 06, 2024, 03:09:06 pm »
Thanks! And thank you for experimenting helping me make the lib more robust.  :)
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4397
    • Personal webpage
Re: New version of BGRABitmap
« Reply #737 on: March 12, 2025, 07:09:22 am »
New version of BGRABitmap (v11.6.4)

- add texture repetition property for OpenGL (change)
- fix compile errors (issue #261)
- add support for Gtk3 (instead of LCL fallback)
- add BGRAImageFormat global array of info on supported types
- rebuild TBitmap object on Windows when it is updated (change)
- fix SVG offset when stretched (call to StretchDraw)
« Last Edit: March 12, 2025, 08:12:11 am by circular »
Conscience is the debugger of the mind

AlexTP

  • Hero Member
  • *****
  • Posts: 2557
    • UVviewsoft
Re: New version of BGRABitmap
« Reply #738 on: March 12, 2025, 07:14:35 am »
Quote
rebuild bitmap object on Windows
What is rebuilt and how? internal structure of bitmap obj was changed?

Quote
add support for Gtk3
What if I compile gtk3 app before: component cannot paint on bitmaps?

I wish answers are written in the changelog, I usually do this for my text editor.
« Last Edit: March 12, 2025, 07:18:38 am by AlexTP »

circular

  • Hero Member
  • *****
  • Posts: 4397
    • Personal webpage
Re: New version of BGRABitmap
« Reply #739 on: March 12, 2025, 08:05:12 am »
Quote
rebuild bitmap object on Windows
What is rebuilt and how? internal structure of bitmap obj was changed?
The TBitmap object is recreated when the function RebuildBitmap is callled (the handle remains unchanged though). I'll ask maxm74 to provide info on this change.

Quote
Quote
add support for Gtk3
What if I compile gtk3 app before: component cannot paint on bitmaps?
There is an LCL fallback that handles rendering when there is no specific support, but it is less optimized and may not work.

Quote
I wish answers are written in the changelog, I usually do this for my text editor.
I am not sure I understand. The forum is a space for asking and answering and your input is valuable to improve on the documentation. I'll modify the changelog accordingly.
« Last Edit: March 12, 2025, 08:14:01 am by circular »
Conscience is the debugger of the mind

Gigatron

  • Full Member
  • ***
  • Posts: 219
  • Amiga Rulez !!
Re: New version of BGRABitmap
« Reply #740 on: March 13, 2025, 02:22:40 am »
Thank you @circular for this wonderful component !
Sub Quantum Technology ! Gigatron 68000 Colmar France;

MaxM74

  • New Member
  • *
  • Posts: 25
Re: New version of BGRABitmap
« Reply #741 on: March 13, 2025, 07:58:09 am »
Quote
rebuild bitmap object on Windows
What is rebuilt and how? internal structure of bitmap obj was changed?
The TBitmap object is recreated when the function RebuildBitmap is callled (the handle remains unchanged though). I'll ask maxm74 to provide info on this change.

it is recreated because if you read an image from the file the internal data is changed but the Windows Bitmap does not change. So if you later use the Bitmap:TBitmap property to add it to an imagelist (for example) you will have the old bitmap. Only the handle is changed.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 305
Re: New version of BGRABitmap
« Reply #742 on: March 18, 2025, 09:13:12 pm »
Error in BCNumericKeyBoard error compiling after update to 9.0.1.7. BGRABitmap update was OK.

see github: https://github.com/bgrabitmap/bgracontrols/issues/232

Rgr Maik
greetings Maik

Windows 10,
- Lazarus 3.6 (stable) + fpc 3.2.2 (stable)
- Lazarus 4.99 (trunk) + fpc 3.3.1 (main/trunk)

 

TinyPortal © 2005-2018