Open GamerBene19 opened 1 year ago
i experienced a similar issue my fix was to add
import_profile: "sRGB".into(), export_profile: "sRGB".into(),
to &ops::ThumbnailImageOptions
i experienced a similar issue my fix was to add
import_profile: "sRGB".into(), export_profile: "sRGB".into(),
to &ops::ThumbnailImageOptions
That worked. Thank you very much!
I'm trying to resize an image based on height and width. If I use
thumbnail
(only using width) it works as intended, usingthumbnail_with_opts
it does not. Note that I have moved the App into the function to be able to access the error buffer.I do get the following error (the path from above does exist)
Am I doing something wrong? If so please tell me what the correct way is.