You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled upon a rendering quality problem when exporting the canvas as JPEG: at small dimensions (e.g. 300x250) the exported jpeg seems "blurry".
Here is the difference between (these visuals are just examples & the quality property is set to 1):
a JPEG created with skia-canvas
a PNG created with skia-canvas & then transformed with sharp (same result if directly exported as a jpeg with node-canvas).
If you zoom on it, you will obviously notice that the red line is very blurred in the first JPEG. From my point of view, this seems to come from the chroma subsampling, but I haven't found a way to set it in the export options (nor in the skia-rust library).
Do you have any idea how to fix this, or at least how to improve the JPEG quality?
The text was updated successfully, but these errors were encountered:
Hi there,
I stumbled upon a rendering quality problem when exporting the canvas as JPEG: at small dimensions (e.g. 300x250) the exported jpeg seems "blurry".
Here is the difference between (these visuals are just examples & the quality property is set to 1):
a JPEG created with skia-canvas
a PNG created with skia-canvas & then transformed with sharp (same result if directly exported as a jpeg with node-canvas).
If you zoom on it, you will obviously notice that the red line is very blurred in the first JPEG. From my point of view, this seems to come from the chroma subsampling, but I haven't found a way to set it in the export options (nor in the skia-rust library).
Do you have any idea how to fix this, or at least how to improve the JPEG quality?
The text was updated successfully, but these errors were encountered: