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.
Bug: Crop by clipping path
-
- Posts: 6
- Joined: 2016-06-06T02:28:08-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Bug: Crop by clipping path
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.
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.
snibgo's IM pages: im.snibgo.com