## How to Get Image to Size to Canvas?

### How to Get Image to Size to Canvas?

I have an image I want to paint that I need to print around 16 inch by 12 inch. By my math, printing at 300 dpi, this means I need about a 17.3 Megapixel canvas: 16 x 300 x 12 x 300

I set the DAP 4 canvas to 16 megapixel. Unfortunately, I end up with an image that is 4000 x 3000 which is only 12 megapixel. It looks like DAP did not respect my canvas settings?

Can someone explain what the algorithm is here and why a 16 megapixel canvas would yield a 12 megapixel image?
westes

Posts: 59
Joined: Mon Sep 02, 2013 5:40 pm

### Re: How to Get Image to Size to Canvas?

The feature that would be really nice here would be to specify - BEFORE you begin to paint - what dimensions you are going to print at - and then have DAP make the canvas size exactly fit that desired output dimension.

This would be trivial to implement and would the absolutely best possible image for printing to the target size.
westes

Posts: 59
Joined: Mon Sep 02, 2013 5:40 pm

### Re: How to Get Image to Size to Canvas?

I guess the estimation is a lot simpler: It limits the maximum of width and height, and reports the square of the largest dimension (so the maximum pixels per image happens when the image is a square).
#MediaChances — a deviantArtist group
LigH

Posts: 841
Joined: Thu Nov 10, 2011 9:47 am

### Re: How to Get Image to Size to Canvas?

LigH wrote:I guess the estimation is a lot simpler: It limits the maximum of width and height, and reports the square of the largest dimension (so the maximum pixels per image happens when the image is a square).

If he is using a square, wouldn't it have made far more sense to have the canvas dimensions be:

* 16 megapixels (up to 4000 x 4000 pixels)
* 25 megapixels (up to 5000 x 5000 pixels)
* 36 megapixels (up to 6000 x 6000 pixels)

I mean the math becomes so much simpler with those numbers than the ones he chose.

Currently he has 24 megapixels, which works out to a bizarre 4899 pixel square.

So, for example, if I want a 16x12 printed image, I need to go through two calculations:

1) 16 * 300 * 12 * 300 = 17.3 megapixels, so I need to select the 24 megapixels canvas to give me that coverage.

2) 16 * 300 = 4800 pixels, so that just fits into the 4899 pixel square above for the 24 megapixel canvas.

So both steps 1) and 2) confirm the same required canvas size. You need to choose the largest canvas that steps 1) and 2) require.

All of this is too complicated for the average person. This should be fully automated, and I suggested the specific feature change in my previous post.
westes

Posts: 59
Joined: Mon Sep 02, 2013 5:40 pm

### Re: How to Get Image to Size to Canvas?

It is even buggy, regarding precision. I know cases where it prefers 3192 pixels where 3200 would have been the exact value, according to the trivial source aspect ratio.
#MediaChances — a deviantArtist group
LigH

Posts: 841
Joined: Thu Nov 10, 2011 9:47 am