Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best practice to export canvas with high quality images?

Tags:

People also ask

How do I save a canvas image in high resolution?

Basically what I do is the following: - draw the canvas (uploading images, put text, etc…); - resize the canvas multiplying by scale factor to be able at the end to have an image with 300dpi; - save the canvas in PNG format; - using php/ajax and Imagick, put the canvas with 300 dpi quality, saving in jpg format.

How do I export high quality Procreate?

To export high resolution images from Procreate, make sure your canvas size is large and set to 300 DPI. Once you're finished with your art, export it as a PNG file for the highest resolution image. If printing your work, make sure not to stray too far from your Procreate canvas size.

What is DPI on Procreate?

⚡️Procreate Tip! ⚡️DPI (Dots Per Inch) is a term that is used to measure the resolution quality of an image with a number value.

How do I increase pixels in Procreate?

Scale your entire image up or down with the power of Resample. To make your canvas larger, smaller, or a different shape, tap Actions > Canvas > Crop and Resize. Toggle the Resample switch on to begin resizing your content.


I need your help. I explain my situation: I’m using fabric.js library to place shapes, text, etc. in my application. My canvas size has 1000x1000 pixels (about 26.45x26.45 centimeters). I have an image upload script only for upload images in high quality, like 300 dpi.

Basically what I do is the following: - draw the canvas (uploading images, put text, etc…); - resize the canvas multiplying by scale factor to be able at the end to have an image with 300dpi; - save the canvas in PNG format; - using php/ajax and Imagick, put the canvas with 300 dpi quality, saving in jpg format.

The problem is: when I save the canvas, the quality of uploaded images will decrees, because I resize the canvas was 72 dpi (at the moment that I save in PNG).

I think a possible solution is: when uploading the images, save the position in an array with x and y position and size to the end of the whole process, replace the image in JPG. If this is a best way, it is possible to make it with Imagick library or in PHP?

I would like to know your opinion about it.

Thank You.