Skip to main content
Participating Frequently
August 21, 2016
Answered

Illustrator CC changes file dimensions when saved as jpeg or tiff

  • August 21, 2016
  • 3 replies
  • 25155 views

Hi, every time I save a file as jpeg or tiff illustrator adds .08 to the width and takes .08 off the height. I save with use Artboard ticked but it still alters the dimensions of the file. Please can someone advise how can I stop it doing this as I need to save my files to the exact pixel size, of width and height, that I have created? Thank you.

This topic has been closed for replies.
Correct answer Ton Frederiks

Thank you, I can now save jpg files at the right size and resolution by going to save for web rather than >file>export and I can control the size and quality of file, but how do I do this for tiff and png and retain the file size of the original ai file?


Create an Illustrator file at 4600 X 2000 px and export it at 72 ppi.

That will give you the exact pixel dimensions.

A pixel does not have a fixed size.

For historical reasons Illustrator defines a pixel as 1/72th of an inch.

The same 4600 X 2000 px file can be smaller and larger depending on the amount of ppi you specify.

At 72 ppi it will print as 126,8 cm X 70,56 cm

At 300 ppi it will print as 38,95 X 16,93 cm

3 replies

Participant
March 4, 2019

Create File as required Pixel file size i.e.:

h 400px     w 400px   72 dpi

export your design

Set the Quality as Medium (5) & set the resolution 72

problem solved!

you will find out your image same as you required

Willi Adelberger
Community Expert
Community Expert
August 21, 2016

TIFF and JPGs are pixel files, they can only consist of whole pixels, so you will not get an exact measurement as you could get with a vector.

But why are you exporting TIFF and JPG?

If you print, use PDF/X-4, if it is for the web, the JPG compression is horrible and you would live better with PNG.

It it is for Office, use EMF on Windows or PNG.

I would recommend not to use TIFF or JPG from Illustrator.

Ton Frederiks
Community Expert
Community Expert
August 21, 2016

Change your units to pixels.

Check if the postions of the artboards do contain X Y values with fractional values.

These should be full pixel values.

This is an example of an artboard that can give you an additional pixel:

HarburyAuthor
Participating Frequently
August 21, 2016

Hi Ton, Thank you my x and y values were fractions, I am still unable to get to save the artwork to the correct size.

Artboard:- X: 4600 px,Y:2000 Px,  W : 4600 px, H: 2000

Artwork:- X : 4600.001 px Y : 2000 px, W : 4600.002 px H : 2000.001

It continually reverts to these measurement with constraint unlinked and I am unable to save it to a different size.

When I save it to the size of the artboard which is the correct size the jpeg file is :-

X : 4600.08 px Y: 1999.92 px, W :4600.08 px, H : 1999.92

which is where I was before.

I have tried altering the x and y measurement to gain the correct artwork size but am unable to arrive at the desired measurements. Can you identify where I am still going wrong?

I have created an artboard with X,Y and W,H values at 4600 px by 2000px,

I have created a rectangle no stroke no fill at 4600 px by 2000px,

I have filled the rectangle with my art work and exported it as a jpeg with use Artboard checked.

When I open the jpeg in illustrator the dimensions of the artwork are X: 4600.08 y: 1999.92, W:4600,08 and H: 1999.92

the artboard is W: 4600px  H2000 px X : 4600 px Y: 0 px

Is the fault with me, illustrator or the computer?

HarburyAuthor
Participating Frequently
August 21, 2016

If the artboard size and X Y coordinates don't contain fractions, it should export OK.

Did you check the Use Artboards checkbox when exporting to jpeg?


Yes, but it still adds and subtracts .08 on the jpeg file.