Photoshop: Make Smart Objects Smarter (reset scale, unpack)

  • 6
  • Idea
  • Updated 6 months ago
  • (Edited)
Merged

This conversation has been merged. Please reference the main conversation: Photoshop: Allow extraction of smart object layers

Please allow:
• Reset Transformations of Smart Layers
• Unpack Smart Layer

Correct me if I'm wrong, but once you transform a smart object, the object itself cannot be reset. Instead, the user has to go into the smart object itself and copy it over to the main file again and try to recreate that layer.
My guess for why it's that way is that the smart layer is saved as an individual psb file within the main PSD with a combined preview sector, which is the sector being transformed. When that preview sector/layer is being transformed, could you guys make it so it keeps a copy of the original? The potential few-mb loss is worth it to save the time. Why make the users go through the runaround? Isn't the whole point of Smart Layers that they are truly non-destructive instead of partially?

Also, why not save the users time and allow unpacking of the smart layer in-place on the layer hierarchy, essentially undoing the smart layer?
Photo of Octop

Octop

  • 27 Posts
  • 4 Reply Likes
  • hoping someone will consider this.

Posted 4 years ago

  • 6
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 813 Reply Likes
Unpacking is generally not possible. See the existing topic: http://feedback.photoshop.com/photosh...

Resetting transform is possible - but nobody has come up with a great definition of what it means to reset the transform (there are multiple possible interpretations, some of which depend on the view of the document). I have a feature request for this on my plate, but UI/XD designers keep arguing over what "reset" really means.

And Smart Objects are non-destructive -- the original data is always there in the child file.
Photo of iMatt

iMatt

  • 122 Posts
  • 10 Reply Likes
Scale, rotation, and warp are easy enough to get back to and reset, but distort, shear and perspective are what really make it impossible to reset all transforms.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 775 Posts
  • 164 Reply Likes
It is possible if you drag cloud smart object from library panel with alt key modificator. It can deal with pixel scaling, bit depth and color mode and layers.

Or maybe this shouldn't work because there could be some unexpected bugs.
Photo of Octop

Octop

  • 27 Posts
  • 4 Reply Likes
Hi Chris. Thanks for replying.

How could 'reset' mean anything other than 'layer goes back to its original composite" ie- everything that's inside the layer?

Well, in almost every case I've ever used Smart Layers, it's been the same color space as the root file. I mean, usually I pack up multiple layers in smart objects so I can instance them without adding to the overall size of the file too much.
Couldn't photoshop prompt the user that if they want to unpack the Smart Layer will convert to their colorspace?
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 813 Reply Likes
Resetting the transform could mean several things, depending on the relationship of the parent and child documents. The default transform depends on your view of the parent document, plus preferences and the resolution of the parent and child documents. Do you reset the transform to exactly what it started as (which may be wrong depending on the view and current document contents), or how it would be transformed based on the current view and documents, or just set the transform to zero offset and 100% scale (which is wrong if the resolutions are different, and could place the child off the visible area of the parent), etc.

And do you want prompts about the smart filters, the transform, the resolution differences, the bit depth differences, etc. Again, unpacking generally isn't even possible. For the 1% of cases where it is possible, it is just as easy to drag the layers from the child file, or undo.
Photo of Octop

Octop

  • 27 Posts
  • 4 Reply Likes
Interesting.
For the reset transform, I would intuitively expect it to reset complex transformation. Scale and XY position you can actually change, but if you skewed or distorted, perspective transform, it'd be great to have that be a reversable action too. The UX designers are thinking along a 'global' reset for the transform layer, we're thinking specific actions. Like iMatt said above.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 813 Reply Likes
Nope, even basic scale isn't obvious on what the reset value should be.
At least rotation and warp are easy.
Photo of Jan Vork

Jan Vork

  • 7 Posts
  • 1 Reply Like
It would be nice if the Free Transform / Perspective transformations could just be reset in a way that the Smart Object is back rectangular with the original aspect ratio. That's enough for me.
Photo of Kyle Hamilton

Kyle Hamilton

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled
Vector Smart Object Scaling Reset.


The problem is when you import a Vector Smart Object into photoshop and scale it down using the transform tool the percentage of the Vector Smart Object stays at the percentage it was scaled down to as opposed to resetting to the new 100%.

The solution would be to add a button that lets reset the object to the new size of 100%. An example would be.. I have a logo in illustrator, I place it in photoshop, that logo is 100%. But you need to scale it down to fit in a specific area. So I scale it down to 75%. Now I need to scale that down again another 50% for non retina screens, I go back to transform the logo and it's still 75%. So to get it to 50% I would have to figure out half of 75%, which is not hard, but it would be much easier if you can scale the object from the new 100%.

What I'm explaining already works with the vector tools in photoshop. If you draw a square scale it up to 300%, hit enter, then rescale it, the square's percentage would be (the new) 100%. I'm just proposing that this is the way Vector Smart Objects from illustrator work as well.

I hope this makes sense. It's really hard to explain but this would be extremely useful for people who are cutting assets for mobile devices.

** Also, a workaround for now is placing the vector smart object in a folder then scaling the folder by whatever %. That essentially resets the object to 100%.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 813 Reply Likes
The smart object really is scaled down, so the new size still isn't 100%, it's some percentage of the original vector shape.
In your case, it would probably be better to just specify a target size in pixels or inches.
Photo of Carlos Oliveras

Carlos Oliveras

  • 103 Posts
  • 27 Reply Likes
I would also like to be able to have a quick way to reset a smart object's transformation back to its original values (no distortion). I understand that resetting it to the same offset/position could be troublesome or ambiguous if the document canvas has been cropped or enlarged, and some fail-safe criterium might be needed, but other than this, wouldn't the rest be unequivocal? Width and height should be set to 100% (even if it's not the "real" 100% of the child - just the 100% that was calculated when placing the smart object in the parent), angle to 0 and the same for the distort values so that the transformation "frame" of the object has four 90 degree corners again (without distortion). In fact, even if the document canvas has been cropped/enlarged and resetting makes size to be recalculated to a different 100% size, that would be okay also. What is cumbersome (at least for me) is having to undo the distortion (perspective, skew, distort, etc.)

Of course maybe I'm overlooking something and there's still some additional ambiguity or special case, but otherwise it would really be helpful to be able to reset the distortion. Every now and then I find myself in this situation and ask myself if there really is no way to do this other than manually (I use 4 guides and snap the corners to guides crossings, or just open the smart object, copy all, paste into parent, convert to smart object again). It's a time consuming process so this time I did a google search and ended up here... so here's my +1 for this idea! Thanks for considering it.
Photo of Tristan Heliczer

Tristan Heliczer

  • 1 Post
  • 1 Reply Like
3 years later and still nothing...
Photo of Olivier Heckendorn

Olivier Heckendorn

  • 10 Posts
  • 0 Reply Likes
There was a post about that in adobe Forum in 2010 allready 
And Chris allready say it was on it's way !
https://forums.adobe.com/thread/647491
Photo of Jan Vork

Jan Vork

  • 7 Posts
  • 1 Reply Like
There are many threads that show a green 'Answered', but in fact are not really answered. The one you mention is one of those. Maybe that is why this issue is skipped.
Photo of Maxime Madeck

Maxime Madeck

  • 1 Post
  • 1 Reply Like
Start with a button to reset the distortions that cannot be set back on the top toolbar to 100% or 0 degrees.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 779 Posts
  • 166 Reply Likes
Good news. I solved this problem. I created script which can do it. http://bereza.cz/ps/index.html#undeform I also have "unsmart" script :-)







If there is some smart math guy I can add support for perspective. I know how change perspektive, but I don't know exactly what single number means.
Photo of Carlos Oliveras

Carlos Oliveras

  • 103 Posts
  • 27 Reply Likes
Wow! Excellent, I just tried it and apparently it works flawlessly, except for perspective transformations as you already said. I truly hope someone can help you with perspective, then we'll (finally) have an all-round solution for this problem. Fingers crossed...
Thanks a lot for your script.
(Edited)
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 779 Posts
  • 166 Reply Likes
Maybe I found workaround for perspective. Because all corners are ok, only right bottom needs be fixed.

I am using some kind of performance non-effecient guessing and refinement according measure data. It could take 40x more time. But it could be still under 10 seconds.

And I will save all data from every run into csv table so I should have a lot data for analysis and finding formula.

This conversation is no longer open for comments or replies.