printdotio / printio-api

Issues + wiki for the api. See http://print.io/api
0 stars 0 forks source link

expected resolution and cropping #40

Open bjano opened 9 years ago

bjano commented 9 years ago

I naively uploaded images matching the aspect ratios in the product id (such as 5:7 for CanvasWrp-ImgWrp-5x7) with some arbitrary resolution. After seeing the warnings on the dashboard I started searching the API to see where to get the expected resolutions from.

The only place where the suggested numbers appear is the answer of /producttemplates (which I am not using), as the size of the layer where "Type" is “Image”. But the overlay layer sometimes covers the outer part of that layer. Does that mean that we are supposed to upload a picture with an empty padding around it? If yes, how do I know which part of the uploaded image is actually going to be visible?

Or am I misunderstanding something completely and I can just upload the images as they are? (but then what about the “image wrap” option for canvases, what is going to be visible on the wrapped part?)