ollm / OpenComic

Comic and Manga reader, written with Node.js and using Electron
GNU General Public License v3.0
946 stars 80 forks source link

[Feature Request]: Setting to set `force-color-profile` and correctly handle color profiles when using `sharp` interpolation #232

Closed ollm closed 1 month ago

ollm commented 6 months ago

Preflight Checklist

Describe your suggested feature

Preference to force color profile using force-color-profile flag in main.js file.

app.commandLine.appendSwitch('force-color-profile', 'display-p3-d65');

Color profiles supported by electron/chromium:

Additionally, sharp must be used correctly so that color profile information is not lost when resizing, for example, using keepIccProfile or keepMetadata.

Additional Information

No response

Sample file

No response

ollm commented 1 month ago

Closed as completed in https://github.com/ollm/OpenComic/commit/c7d479abeed6638c39ec413abd68ccfcacf6d5d5 and available in v1.3.0