Hey folks,
i want to show a jpg image on a button in my gui. I use "IUP Gui" with these bindings: https://github.com/dariolah/niup
If i load the jpeg on windows - everythings fine and works.
Under my 3 Archlinux System i get these error and the jpeg is not shown:
123.jpg: Not a TIFF or MDI file, bad magic number 55551 (0xd8ff)
I don't know whom to ask - and i don't no what the problem is - it works under windows 10.
Does anyone know, if i miss a lib in linux?
Thx and bests beckx
From the IUP official docs:
"But the available file formats supported are system dependent. The Windows driver supports BMP, ICO and CUR. The GTK driver supports the formats supported by the GDK-PixBuf library, such as BMP, GIF, JPEG, PCX, PNG, TIFF and many others. The Motif driver supports the X-Windows bitmap."
May be there is some problem with GDK-PixBuf library.
I would use BMP format , it worked fine with buttons.