Copy link to clipboard
Copied
Hi, I'm trying to resize a smart object from 1024 px to 180 px. Photoshop keeps adding 0.02 px at the end of it, resulting in transparent pixels on the edge when I export. This is infuriating. Does anyone know why this is happening and how to fix it?
I thought this had to do with the "snap to pixel grid" preference but tried both and it doesn't change anything.
Copy link to clipboard
Copied
hi!
Are you using Edit>Transform(command T)?
and then typing in the height and width? is it possible that your image is not exactly 1024?
It works for me when I try it. If you just want to save the image out you could also use Edit>Image size to scale it down. Or use Edit>Canvas Size to size the canvas down and then scale your image to fit?
Or create a new file that is 480x480 paste in your smart object and scale it down to fit, then save?
Or feel free to share the image and I can take a look at it.
Hope it helps!
mark
Copy link to clipboard
Copied
Edit > Image size doesn't work for what I'm trying to do. I need to resize and export the same smart object at 20 different sizes.
None of the solutions seems to work. Here is a video of the issue. Photoshop just doesn't seem to be able to precisely scale smart objects at all. This must be a bug.
Copy link to clipboard
Copied
You can also use File>Export>Save for Web and just change the height and width everytime you export?
Copy link to clipboard
Copied
Yeah but that defeats the purpose. I need to export a LOT of sizes of a LOT of files. I'm currently using the generator to export them. Otherwise I'd need to export them manually or run a script, which isn't super convenient.
I think Photoshop should be able to properly resize smart objects. I assume its a bug.
Copy link to clipboard
Copied
My immediate thought is that it's a rounding error. The indirect and relative nature of smart objects means that they aren't defined by pixels, but indirectly by physical size and resolution. That's one of the main purposes of smart objects, which allow them to be resized relative to the main document size.
Obviously, a rasterized file can't be 180.02 pixels. It has to be 180 or 181. So what do you get when you export?
The "transparent edge" is a display artifact with all un-flattened files, I suspect in OpenGL code. When you flatten, the edge disappears.
Also - maybe not the issue here, but note that PNG specifies resolution in pixels per centimeter (not inch). With low resolution files, this frequently results in quite pronounced rounding errors.
Copy link to clipboard
Copied
Maybe it's vector Smart Object?
If yes - go to Illustrator, and then use pixel grid to be sure your size is correct?
Sometimes it's not possible to scale object without firctions
As said Mark create a nwe one file (destination size) and then pase your Smart object and scale using Transform Tools
pawel
Copy link to clipboard
Copied
This is not how it has been nor how it is supposed to be. The advantage of vector smart images is that you can resize them WITHOUT having to rasterize and commit to size or resolution. Without a doubt, any Vector Smart Image in photoshop should be resizable. It would be useless without it. This has to not only be a bug, but a big bug.
Without being able to resize a vector smart object while in Photoshop, you just as well not use vector smart objects. The shouldn't even call them smart or vector if you can't resize them.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now