Page 2 of 2

Re: Bug: Crop by clipping path

Posted: 2016-06-15T03:24:53-07:00
by eurorad.dob
Strange.

The viewport is already definied in the bike.ai-file: https://members.zeg.com/Downloads/Images/IM/bike.ai (you can also open it with any text editor)

The ai-file is just exported from the bike.jpg. There were no export settings. I have no idea why photoshop is scaling it down. The original bike.jpg indeed has 5254x3275 pixels.

Would it help if I would rescale a bike.jpg with 1260 x 786 pixels and then export it to .ai / .svg?
Edit: Well, I tried to do it but the exported ai then gets a size of 302.6399 x 188.6399 pixels. I have no idea why this is happening.

Re: Bug: Crop by clipping path

Posted: 2016-06-15T03:46:09-07:00
by snibgo
Can you read the SVG and AI back into Photoshop? Does it display correctly when overlaid on the JPG file?

My thinking is: I can't see anything in the SVG or AI that says, "This is scaled." So Photoshop shouldn't be able to correctly scale it back up, to match the JPG.

I'll mention that the clip data in the JPG file is relative to the image size, ie the actual data is between roughly 0.0 and 1.0 in each direction. Programs multiply it by the image dimensions to get the path in pixel coordinates.