Coder Social home page Coder Social logo

Comments (15)

antipalindrome avatar antipalindrome commented on May 22, 2024

Thank you for information and detailed steps to reproduce. We'll try to take a look at this when we have some time.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

Yes, interesting. I'll try to test it in CS2.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

@eschelar Tested exporting smart objects with a simple image, PSD and AI. All runs fine in CS2 under Win7, so the only conclusion is that Adobe broke something in later versions. There's nothing fancy going on with smart objects in the script itself. Is their default script working for you?

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

Yes, the default script works. Sucks though. Yours is vastly superior.

Your script works fine too. It only breaks when there are smart objects.

Good call on testing PS and AI smart objects, I also tested these, but forgot to mention details. I also tried placed PNG source smart objects.

I will try this on some different computers. I only have CS6 though (one is master collection from the net, one is my own CS6 from Production Premium - on PC and my laptop).

I can do a camstudio video if you want me to show it. Would be good to get outside confirmation though from another user.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

@eschelar So if I understand it correctly, the default script exports smart objects just fine and ours hangs? That's weird. That could be the faster ActionManager code that collects layer info, depending on when the hang occurs. I think I will try and borrow the CS6 edition, since I have Win7, and test it there. Could you post a link to your testing file so I can verify?

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

Ok, just tried Ps CS6 13.0.1 x64 Extended on Win7 -- one regular layer, one AI smart object via "Place..." -- and it worked no problems. The progress bar didn't update much, but that's normal in Ps. They never managed to make it work decently across all platforms.

@eschelar So I'll definitely need your test file, and the video would be helpful as well.

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

I'll see what I can whip up for you. I tested with 3-4 different files, all built on the fly for testing purposes. All exported fine after rasterizing the smart objects. All failed when smart objects were present.

Will update you when I'm back in the office tomorrow.

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

Actually, I had quite a lot of trouble with this script today where it wasn't working even in ways that worked 100% reliably the other day. After a few tries, it started working properly though - except for the bug I mentioned. It seems that running it from the scripts folder is 60-80% likely to not work at all than if I just load it via the "browse" option. That might be a good indicator that there is something about my description of the problem that is missing some important detail.

But after a few tests, I did manage to get some repeatable results.

While I was rendering down the camstudio vid, I repeated the tests and continued to get a high rate of failure even when using rasterized pngs when using the script specifically from the menu (installed to the scripts folder in adobe).

http://youtu.be/Gdg_cfARVvQ
The video shows these steps:
#1 - running the normal method
#2 - running in a way that works reliably - rasterizing the smart objects first, then running from the "Browse" part of the menu
#3 - running the same way, but not rasterizing first, hangs.
#4 - running from the menu, not rasterized (although this method freezes 60% or more of the time with rasterized layers).

I spared you the long wait, but I have given it more than 10 minutes to recover and no movement. As you can see, the response is very quick if it works properly.

As you can see, the computer I'm running it on is not remarkable, but quite capable. i5, 16gb, running from SSD etc... I don't think it's a problem with the machine.

I will do more testing with my laptop and home PC later on too.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

Judging by your video, the progress bar just doesn't appear sometimes. Relation to smart objects could be a coincidence. Please, try the recent update; it might help.

Thanks for your time and a thorough bug report, by the way.

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

Thanks for looking into it. The progress bar shows up quickly and the process completes in under 20 seconds ordinarily. When it fails, it will not show up even if I leave the computer for 10 minutes and come back. There are also no files saved.

I have successfully used it without smart objects for several iterations with a 54 layer image file (200x200px) with the same results. Under 30 seconds with all smart objects rasterized, no movement at all with even one smart object.

Having said that, I have no idea how to proceed with troubleshooting or meaningful communication about this. Perhaps just log it in as a potential issue and if anything else happens, maybe it will be a helpful sign post.

Thanks again for your fine work in putting this plugin together.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

So no luck even with the yesterday's "fix"? I meant "the recent update" of this script.

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

Oh, I didn't realize it was that recent. :)

I'll give it a shot when I'm back in the office. Probably later in the day as I have a deadline for 1:30pm for a big project.

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

Any news?

from photoshop-export-layers-to-files-fast.

eschelar avatar eschelar commented on May 22, 2024

Sorry about the wait, got pulled away to some other projects for a while.

This recent update seems to have cleared everything up. No problem at all, approximately 45 seconds to export 52 layers in a 200x200 size.

Simply could not ask for anything better. Well - except maybe to have an ordinal number prefix option... but I don't even need this for this project.

Stellar work. Thank you again!

from photoshop-export-layers-to-files-fast.

skjorn avatar skjorn commented on May 22, 2024

Marvelous. Enjoy then :-)

from photoshop-export-layers-to-files-fast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.