Greetings,
My first post here.
I am wanting to accomplish the following.
I am using the Export to XML script from this site first to accomplish my coordinates
I am then using the PS CS4 Export to files to export PNG24
Now the issue I am hoping to solve is to have a script that will stop me from having to resize my trimmed graphics to match the canvas size of the largest of 3 states.
I have for example buttonName_A buttonName_S buttonName_N and lets say buttonName_S is the largest of the canvas sizes once CS4 has trimmed them, but the others buttonName_A and buttonName_N need to be made the same size canvas as buttonName_S, as of now I am manually making the other 2 match canvas, but having to drag any graphics over and manually move them into the right position in the buttonName_S file so there is not shifting of either graphics or text between the 3. Then copying that layer back into the original trimmed file, throwing away the original layer and resaving the file, which is tedious to say the least.
Is it possible to have 1 or maybe even 2 scripts to do the following
Open a PSD file, export each Layer into a 1920x1080 tranparent background PSD, save that PSD with the layername within it.
Next
Open each PSD file, trim transparent, saving as PNG24 with transparency checked, noting coordinates from upper left as 0
Next see if the layer names of each one match i.e. buttonName_A, _S, _N
Would then make sure the canvas is the same and all graphics in each buttonName _S, N and A line up so no shifting.
Make them all match and then adjust coordinates to be the same as the new largest size, exporting that info into an excel doc
buttonname X Y width height
example_A 122 344 34 34
example_S 122 344 34 34
example_N 122 344 34 34
As above the new excel doc would make copy pasting a ton easier into a separate coordinate document
Thanks!