Wednesday, December 14, 2011

Unscaling pasted images

In the past few releases of the CS suite, I've found that when I paste an image from the windows clipboard into Illustrator, the pasted image size is reduced to about 70%.  I hope there is just some setting that can turn this off, but being the lazy programmer that I am, I just wrote a couple lines of code to knock the imported graphic back to 100%.

This script can be run on multiple selected items at a time, and will only affect Raster Items.
If the selected item is already at 100% it will not be transformed.