Mobile app version of vmapp.org
Login or Join
Moriarity648

: How do I put an image into Illustartor document at its actual size? I'm creating a new document, choosing Web profile, setting width and height equal to image size. But the image appears half

@Moriarity648

Posted in: #AdobeIllustrator #Images #Pixel #WebsiteDesign

I'm creating a new document, choosing Web profile, setting width and height equal to image size. But the image appears half as big as it really is. That is, I need to place image 4 times to fill the document. Why is that? Am I missing something?

UPD Sorry for not saying it explicitly, I'm specifying document extents in pixels, and choosing resolution 72 ppi.

UPD As for my question being marked as duplicate. The suggested question indeed clarifies that Raster Effects is not Document's Resolution, and is ignored when pasting images. When using Web profile, images are being pasted as if the document has 72 ppi. Since pixels in Illustrator was redefined as physical units, such that 1 inch = 72 pixels.

But it doesn't address my other source of confusion. And the fact to be considered when pasting images. Images, specifically png ones, can contain information about physical extents.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity648

3 Comments

Sorted by latest first Latest Oldest Best

 

@Moriarity648

First, there is no such thing as Illustrator document's ppi. It just treats pixels as physical units, such that 1 inch = 72 pixel.

Second, Raster Effects has no effect on how big Illustrator makes an image pasting it in a document.

So, if you create a document with dimensions 1920x1080 pixels, and paste an 144 ppi image of the same dimensions, it ends up taking quarter of the document. Since 1920 pixels of the image are supposed to take 1920 / 144 inches, which is 1920 / 144 * 72 = 960 = 1920 / 2 pixels.

In other words, one might say, Illustrator pastes an image as if the document has 72 ppi when document extents are given in pixels.

Third, when doing screenshots on Windows with Snipping Tool, resulting image's ppi depends on size of "text and other items". Where Smaller - 100% corresponds to 96 ppi, Medium - 125% to 120 ppi, and Larger - 150% to 144 ppi.

Fourth, you can surely check image's ppi with Photoshop. For that you need to open the image and click and hold Document Sizes in status bar. But if the image doesn't contain information about physical extents, Photoshop displays 72 ppi nevertheless.

Alternatively, you can use ImageMagick, which displays physical extents only if they are present:

$ identify -verbose img.png | grep pHYs
png:pHYs: x_res=5669, y_res=5669, units=1
$ echo '5669 * 0.0254' | bc
143.9926

10% popularity Vote Up Vote Down


 

@Yeniel278

Did you take your screenshot on retina Mac?

I'm not on a retina mac at the moment to test, but someone in this post says the retina Macs save screenshot PNGs at 144dpi.
apple.stackexchange.com/questions/105185/how-can-i-stop-my-retina-display-from-taking-2x-sized-screenshots
For an RGB document with pixel dimensions Illustrator sets-up the art board at screen resolution (72dpi) and the photo is placed to match the inch-size of the document.

A 144px wide image at 72dpi is 2-inches wide. A 144px wide image at 144dpi is 1-inch wide. So it's half the size when placed.

10% popularity Vote Up Vote Down


 

@Holmes874

I am assuming that you image resolution is 72ppi (because its a common resolution for images like png and jpeg).

In Illustrator when you create a new document the Default resolution of file is 300ppi. Reduce it down to 72ppi and now when you import the image file in illustrator it will perfectly fit the canvas.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme