need a little help with converting to sRBG #1585
-
hey you guys im getting input images from a lot of random places now getting them to be jpegs and of a certain size with image sharp has been no probelm like for sizing i just did an img.Mutate() and that worked can someone help me out and explain some of this to me |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's actually an open WIP (work in progress) PR #1567 which would allow us to provide this functionality automatically upon decode but it remains unfinished with no clear plan to deliver it. Theoretically you could use the existing colorspace transform methods to transform. I'm no expert on the subject but you should be able get some of the data you require from the |
Beta Was this translation helpful? Give feedback.
Hi @toy-opensource
There's actually an open WIP (work in progress) PR #1567 which would allow us to provide this functionality automatically upon decode but it remains unfinished with no clear plan to deliver it.
Theoretically you could use the existing colorspace transform methods to transform.
I'm no expert on the subject but you should be able get some of the data you require from the
Image.Metdata.IccProfile.Header
property.