I've retested and am getting different dimensions of the images between the Export and the File>Save when inserted in a document.
The actual PNG files between the two techniques are close to the same size (pixel dimension), but the images inserted in a document (e.g. Word), are different. The difference is about 74%, meaning the File>Save Web objects are about 74% of the Export ones once inserted in a document.
Is this the pixel density (e.g. 72 vs 300) warning you gave?
Since I'm assuming the File>Save for Web method has everything at 72ppi, the implication is I'm making the "mixed density" mistake in AI and/or during the Export.
Although I don't understand how this would be the issue, part of the vector graphics (the compass rose) was originally in a separate AI file. I ended up copying the final AI graphics to a new AI file, and pasted it in AI format. The 3 text entries that were added were in an artboard that may have been set to 72ppi, while the compass rose came from an AI file set for 300ppi.
Again, more testing....
Tom,
The actual PNG files between the two techniques are close to the same size (pixel dimension), |
They ought to be exactly the same. The Save for Web is accurate, so any difference would be something strange in the Export.
but the images inserted in a document (e.g. Word), are different. The difference is about 74%, meaning the File>Save Web objects are about 74% of the Export ones once inserted in a document. |
As I had understood it (I have never had/used Word), an image is inserted at a certain size, and then you can scale, so I am afraid the reason is unknown to me.
Is this the pixel density (e.g. 72 vs 300) warning you gave? |
The PPI issue tends to give itself away, by the proportions: going between 300 and 72 you get 0.4 (72/300) or 4.1667 (300/72).
Since I'm assuming the File>Save for Web method has everything at 72ppi, the implication is I'm making the "mixed density" mistake in AI and/or during the Export. |
More accurately, with Save for Web you just work in pixels, but you are right in that it corresponds to 72 PPI, so you are probably right.
The 3 text entries that were added were in an artboard that may have been set to 72ppi, while the compass rose came from an AI file set for 300ppi. |
There is no resolution setting in AI (apart from the Effect>Raster Effect Settings), and images just have the (original) pixel x pixel size they were created at, so their PPI will vary (wildly) inversely when scaled (wildly).
When you create a PNG, you have nice and orderly pixels with the right positions and colours.
If you halve the number of pixels (both ways), 4 pixels (2 x 2) turn into 1 which is the average colour of the 4, which has the same colour and (relative) position as if it had been made at half the size from the beginning, so nice and orderly pixels with the right positions and colours. The same applies at quarter and eighth size (multiple halvings).
All other resizings will make a mess where colours get mixed and muddled.
Hence the power of 2.
There is no reason to create a PNG at twice the size needed, but if you need a PNG both at a large size and at half/quarter/and so on size, you can just make the large one and use that for both/all sizes.
Also, are we avoiding any fractions just to keep things clean |
If you mean fractions in positions/sizes, they give image borders with pixels made from mixtures of artwork and nothingness.