• Bugs
  • spine photoshop script error

Related Discussions
...

spine photoshop script error

There is a poorly part while using the 'Layers to png script' in Photoshop.

[Use of system]
MacBook Pro Yosemite 10.10.1
Photoshop CC (2014) (Japanese)

[script that used]

  1. Macintosh HD ▸ アプリケーション ▸ Spine ▸ scripts ▸ photoshop ▸ LayersToPNG.jsx

  2. https://gist.github.com/NathanSweet/c8e ... 9dedd56e8c
    The above code has been used to paste the text editor.

[Results]
Macintosh HD ▸ アプリケーション ▸ Spine ▸ scripts ▸ photoshop ▸ LayersToPNG.jsx
-> image crushed

https://gist.github.com/NathanSweet/c8e ... 9dedd56e8c
-> The error messag pop up.

Now do not know the reason why this occur, so I learn the gimp side. But that is another issue as that. Apart from the issue will be to write an article.


no reply...

Please help me

Hmm try disabling "Write template PNG" I believe there might be a small error there.

Shiu wrote

Hmm try disabling "Write template PNG" I believe there might be a small error there.

OK. I will try that. Thank you!


  1. Macintosh HD ▸ アプリケーション ▸ Spine ▸ scripts ▸ photoshop ▸ LayersToPNG.jsx

Result : Same as before.

  1. https://gist.github.com/NathanSweet/c8e ... 9dedd56e8c
    The above code has been used to paste the text editor.
    Try with out 'Write template PNG' option.

Result : It works! But the size is enlarged, too.

Thank you for your help, Shiu.
Please help me about Size problem, too.

I've just checked the PSD and Spine project.

You have two skeletons in the project.
skeleton __aktsk_PJH 2's root bone has a scale of 1 so when you place the image on that it will be the correct size
skeleton 137_1_clasher_light_aron's root bone has a scale of 0.4 so placing the image on that skeleton will result in it being smaller.

This is the correct behavior.

Updated script Gist today, you might update and try again.

Shiu wrote

I've just checked the PSD and Spine project.

You have two skeletons in the project.
skeleton __aktsk_PJH 2's root bone has a scale of 1 so when you place the image on that it will be the correct size
skeleton 137_1_clasher_light_aron's root bone has a scale of 0.4 so placing the image on that skeleton will result in it being smaller.

This is the correct behavior.

Oh, yes. I find that. Now I can handle it. Thank you so much.


Nate wrote

Updated script Gist today, you might update and try again.

Thank you. I will try it.