Skip to main content
Inspiring
November 23, 2022
質問

vector shape stroke in pixels in photoshop is points in illustrator

  • November 23, 2022
  • 返信数 3.
  • 3960 ビュー

apologizing up front for crossposting this here and the Photoshop ecosystem [https://community.adobe.com/t5/photoshop-ecosystem-bugs/vector-shape-stroke-in-pixels-in-photoshop-is-points-in-illustrator/idi-p/13367684] — I don't know within which program the issue lies.

 

I have vector shape objects in a PSD that have a fill and stroke. The stroke is set to 8 pixels in Photoshop, and I don't see a way to change that to any other units.

 

My issue is when I bring that file into Illustrator, all the strokes are converted to points — but the values stay the same. That is, they come in with strokes of 8 points where they were only 8 pixels (at 600 dpi) in Photoshop.

 

I don't see a way to set a stroke on a vector shape to a unit other than pixels. And I don't see a way to set the units on bringing the files into Illustrator so 8 px doesn't become 8 pts. My Preferences in Illustrator, Units > Stroke are set to Pixels.

 

I've tried doing community and support searches, but I keep getting results for "how to bring Illustrator art into Photoshop" or how to draw paths or vectors. In other words, nothing helpful.

このトピックへの返信は締め切られました。

返信数 3

Ton Frederiks
Community Expert
Community Expert
November 23, 2022

Looks like if you change the resolution in Photoshop to 72 ppi while keeping the same amount of pixels (do not check Resample in Image Size), the shape size and stroke size will be the same in Illustrator.

Inspiring
November 23, 2022

wow, that's an excellent discovery.

 

Here's an issue with merely implementing that:

 

I have pages for a graphic novel. There are art layers, and there are shape layers (balloons) and type layers. Our process is taking out the type and vector layers and resaving them in Illustrator. (They remain crisp vectors, not rastered, and the text stays live type in the exported PDF.)

 

The issue is my 14" file at 300 dpi is now 58.333" at 72. It makes it more difficult to reposition the text/vector art back on top of the raster art in the layout in ID.

 

anyone know a way to change the default AI resolution from 72dpi to higher?

Ton Frederiks
Community Expert
Community Expert
November 24, 2022

What happens looks like this:

If you place a 144 ppi Photoshop file that contains a vector shape with a 6 px stroke and you place the file as a link, Illustrator uses the resolution to display the stroke as 3 pt.

If you place the same file embedded (or use the place options to create layers), Illustrator reads the stroke weight and gives the vector a 6 px/pt stroke. Points and pixels have the same size in Illustrator, a pixel is given a size as 1/72 of an inch.

If you place the file linked, the vector will have the resolution of the file (as you can see when you zoom in) and become pixels when exported or printed.

If you place the file embedded, the vector will be scalable and resolution independent and become pixels at the resolution of the output (printer, monitor screen, image export).

To keep the best of both worlds, you could save the file in Photoshop as a Photoshop PDF, vector remains vector and pixels remain pixels. If you place the file linked in Illustrator and save the Illustrator file as PDF, your vectors will be vectors (if you embed it you will see that some tricks with clipping masks are used to keep it vector).

Inspiring
November 23, 2022

might have something to do with this:

 

the PSD in PS is over 4200 pixels wide @ 300 dpi

 

brought in to AI it comes in at just over 1000 pixels. (Document Raster Effects settings is 300 dpi)

 

the test file I just created with a 6px stroke in PS is still 6 px in AI, it's just that the file in AI is 1/4 the resolution, so that 6 px stroke is 4x thicker.

Monika Gause
Community Expert
Community Expert
November 23, 2022

Illustrator honors the resolution of the file you import. Looks like it doesn't translate the stroke wieght accordingly.

Inspiring
November 23, 2022

but clearly it is not honoring the resolution.

 

I have a file that's 14", 4200 pixels @ 300 dpi in PS.

 

Opening that same file in AI and it's still 14" but just over 1000 pixels.

 

that is not the same resolution.

 

If I bring my 300 dpi raster artwork into AI, is it still 300 dpi?

 

And if AI cannot honor the stroke weight of vector objects, what exactly is it doing?

 

If PS can only define vector strokes in Pixels, it's a serious problem if AI cannot parse that into other measurements.

Monika Gause
Community Expert
Community Expert
November 23, 2022
quote

when I bring that file into Illustrator, all the strokes are converted to points


By @David Cardillo, PRH

 

Just so we can see what you are seeing: how do you do that?

Inspiring
November 23, 2022

File > Open — select the PSD

 

when the dialog comes up, select the option to "Convert Layers to Objects."