Hi Everybody,
I'm doing some work on images using Skia, and so far I'm quite of fond of how easy it is to use Skia.
That said, I have two issues that I would very much appreciate if anyone could help with:
1. Scaling down produces blurry images. This is the code that I'm using to resize the image:
(Skia/sk_paint_set_filter_quality paint Skia/HIGH_SK_FILTER_QUALITY)
(Skia/sk_paint_set_antialias paint false)
(Skia/sk_paint_set_dither paint false)
(Skia/sk_canvas_draw_image_rect canvas picture-img nil picture-rect paint)
How to scale down such that the quality is on par with Chrome?
2. At least one of the images gets different colors when it's loaded with Skia and then exported back to jpg. When opening the same image in GIMP, it shows that the image has an embedded color profile and offers to keep it or to convert it to GIMP's color profile. I guess that this embedded color profile is what creates the color issue in the file created by Skia. How should I approach this?
Thanks in advance!
Best regards,
Michael