News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

WebP test libwebp.dll

Started by TimoVJL, October 14, 2022, 05:23:54 PM

Previous topic - Next topic

Biterider

Hi
I also found this definition in Gdiplusimaging.h
Trying to load a webp image using GdipLoadImageFromFile fails on my Win10 21H2.
Maybe it's too old and it only works on 22H2 or Win11...  :sad:

Biterider

jj2007

I found two elements on the web, but no idea what could be done with this (other priorities right now):

GdipGetImageRawFormat

https://raw.githubusercontent.com/marius-sucan/Quick-Picto-Viewer/master/lib/Gdip_All.ahk

Gdip_GetImageRawFormat(pBitmap) {
; retrieves the pBitmap [file] format

  Static RawFormatsList := {"{B96B3CA9-0728-11D3-9D7B-0000F81EF32E}":"Undefined", "{B96B3CAA-0728-11D3-9D7B-0000F81EF32E}":"MemoryBMP", "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}":"BMP", "{B96B3CAC-0728-11D3-9D7B-0000F81EF32E}":"EMF", "{B96B3CAD-0728-11D3-9D7B-0000F81EF32E}":"WMF", "{B96B3CAE-0728-11D3-9D7B-0000F81EF32E}":"JPEG", "{B96B3CAF-0728-11D3-9D7B-0000F81EF32E}":"PNG", "{B96B3CB0-0728-11D3-9D7B-0000F81EF32E}":"GIF", "{B96B3CB1-0728-11D3-9D7B-0000F81EF32E}":"TIFF", "{B96B3CB2-0728-11D3-9D7B-0000F81EF32E}":"EXIF", "{B96B3CB5-0728-11D3-9D7B-0000F81EF32E}":"Icon"}
  ; DEFINE_GUID(ImageFormatHEIF, 0xb96b3cb6,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
  ; DEFINE_GUID(ImageFormatWEBP, 0xb96b3cb7,0x0728,0x11d3,0x9d,0x7b,0x00,0x00,0xf8,0x1e,0xf3,0x2e);
  If (pBitmap="")
     Return

TimoVJL

GdipLoadImageFromFile didn't work with Windows 10 22H2

22H2 still have GdiPlus 10.0.19041.2130, not 10.0.22000
May the source be with you

Vortex

Hi Timo,

Windows 10 Version 2022 H2 is a very new release. Maybe, the future updates can solve the problem.