Recent

Author Topic: WEBP, no DLLs  (Read 1385 times)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2706
Re: WEBP, no DLLs
« Reply #15 on: June 03, 2026, 11:47:41 am »
Code written for Lazarus only should not use scanline unless the same code should work on Delphi too. Use TRawImage.
When using scanline it is your responsibility to write the data in the correct order/alignment the bitmap requires. This is valid for windows too.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Thaddy

  • Hero Member
  • *****
  • Posts: 19268
  • Glad to be alive.
Re: WEBP, no DLLs
« Reply #16 on: June 03, 2026, 12:07:16 pm »
That narrows down the issue. Thx Marc.
objects are fine constructs. You can even initialize them with constructors.

Tomxe

  • Full Member
  • ***
  • Posts: 107
Re: WEBP, no DLLs
« Reply #17 on: June 09, 2026, 07:40:17 pm »
It works under both Linux and Windows, Delphi (Windows) and Lazarus.

CM630

  • Hero Member
  • *****
  • Posts: 1700
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: WEBP, no DLLs
« Reply #18 on: June 10, 2026, 08:52:43 am »
Indeed, with static images it seems to be fine (on win, lin and another os), but it crashes with animated .webp.
Лазар 4,4 32 bit (sometimes 64 bit); FPC3,2,2

Tomxe

  • Full Member
  • ***
  • Posts: 107
Re: WEBP, no DLLs
« Reply #19 on: June 11, 2026, 04:04:37 am »
For animated .webp please try WebPAnimated (decodes to frames) or WebPAnimate (visual component).

 

TinyPortal © 2005-2018