Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
JvImagesViewer - WEBP
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Are there any existing vn...
by
willbprog9933
[
Today
at 07:57:04 am]
Help with task using arra...
by
Zvoni
[
Today
at 07:49:18 am]
LAMW: Linux crash in emul...
by
DonAlfredo
[
Today
at 07:34:28 am]
Error installation lazaru...
by
young_nandy
[
Today
at 05:18:07 am]
Polished version of the C...
by
trev
[
Today
at 04:34:33 am]
Lazarus Release 2.0.12
by
trev
[
Today
at 04:27:31 am]
Synapse : Simple things
by
PierceNg
[
Today
at 04:24:50 am]
50 years of Pascal
by
VTwin
[
Today
at 04:15:45 am]
cdecl - conventions instr...
by
AlanTheBeast
[
Today
at 02:05:38 am]
Executing build commands ...
by
ASBzone
[
Today
at 01:49:01 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: JvImagesViewer - WEBP (Read 402 times)
pcurtis
Sr. Member
Posts: 430
JvImagesViewer - WEBP
«
on:
December 20, 2020, 06:41:42 am »
Hi All,
can a TJvImagesViewer be made to display WEBP images?
If so how?
Thanks in advance.
Logged
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0
wp
Hero Member
Posts: 8099
Re: JvImagesViewer - WEBP
«
Reply #1 on:
December 20, 2020, 11:29:51 am »
In principle, yes. JvImagesViewer can display all image formats registered. You must provide and register a corresponding image class plus a reader for the WEBP format. Study the code of TJpegImage or TPortableNetworkGraphic.
Logged
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...
circular
Hero Member
Posts: 3666
Re: JvImagesViewer - WEBP
«
Reply #2 on:
December 21, 2020, 08:14:13 am »
Here is the implementation of the reader in BGRABitmap:
https://github.com/bgrabitmap/bgrabitmap/blob/master/bgrabitmap/bgrareadwebp.pas
You can probably adapt it to run without BGRABitmap.
Logged
Conscience is the debugger of the mind
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
JvImagesViewer - WEBP
TinyPortal
© 2005-2018