RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

[Android] Using JPG for boxart shows weird colours

Open zzedmore opened this issue 1 year ago • 3 comments

This commit https://github.com/libretro/RetroArch/pull/16806 added JPG support for Boxart. I tried this on two different Android devices (Phone and Retroid Pocket Handheld) but the jpg's seem to have weird colours --

361137189-0d86cf8f-683d-4668-8007-fd7ebf4fe798

It works fine on Windows.

Here is the source jpg example --

361136899-70cd3ff3-f2bf-44a3-aaad-b1c6ba7e042b

zzedmore avatar Aug 25 '24 13:08 zzedmore

I'd have to double-check, but i'm 99% certain a very similar effect was happening for me (using png thumbnails autofetched from the server) whenever I turned on thumbnail bilinear filtering on rgui in the current iOS App Store build (which predates the jpg commit but may still be related).

EDIT: It happens for me in rgui when I set the thumbnail downscaling method from bilinear to sinc/lanczos3 without restarting. I haven't played with downscaler settings in any other menu. Are your jpegs a higher (or even lower) resolution than the pngs you've been using? This may already be reported somewhere.

IMG_0049 IMG_0048

gnubeest avatar Aug 28 '24 21:08 gnubeest

I tried setting the Thumbnail Upscaling Threshold to different values but it made 0 difference. Not sure where 'Downscaling Method' is. The jpgs I use are 700 pixels on the longest side. Example one above (Alien 3).

zzedmore avatar Aug 29 '24 13:08 zzedmore

Reproduced by loading the image with the image viewer core, so the problem is probably in the platform specific jpeg handling somewhere.

zoltanvb avatar Sep 01 '24 18:09 zoltanvb

Can confirm this happening on two devices on my end, using the latest stable build v1.20.0. Jpg files can be seen correctly outside the app.

Image

Denshadego avatar Feb 01 '25 03:02 Denshadego