When loading and transforming JPG file created by a user (assume using their phone, but really do not know), the file generated had a marker detected by the jpgd.cpp:1079. I determined which one it was by instrumenting the code until I determined which marker it was.
Other applications (Gimp, Nautilus, Windows Explorer) all display the file and show the image fine.
This was originally discovered as jpeg-compressor is used within the Godot Game Engine which is the tooling used to develop the application.
I suspect that this marker is ignored by most other decoders including stb.
When loading and transforming JPG file created by a user (assume using their phone, but really do not know), the file generated had a marker detected by the jpgd.cpp:1079. I determined which one it was by instrumenting the code until I determined which marker it was.
Other applications (Gimp, Nautilus, Windows Explorer) all display the file and show the image fine.
This was originally discovered as jpeg-compressor is used within the Godot Game Engine which is the tooling used to develop the application.
I suspect that this marker is ignored by most other decoders including stb.
When I used the following command I had success:
When I tested decompression I got a failure: