Page 1 of 1

Photoshop App

Posted: Fri Apr 12, 2024 4:34 pm
by ConquestUser
Is there an app that will pick up a json file and pick up the images based off what's in the json file and create it. I can open the svg file in photoshop but it rasterizes it to the wrong size and the app in switch doesn't recognize the file type. I have very little experience with json and svg files. I also tried opening the svg file in Illustrator but it cuts part of path off. I'll need to create pdf or png files to print on a wide format printer. Any thoughts would be greatly appreciated.

Thanks,
Bruce

Re: Photoshop App

Posted: Fri Apr 12, 2024 4:39 pm
by jan_suhr
You can in the Photoshop app run Photoshop scripts. That script can pickup variables from Switch and in your case those variables can come from the JSON file if you have the Metadata module

Re: Photoshop App

Posted: Fri Apr 12, 2024 5:25 pm
by ConquestUser
do you know where I can find an example?

Re: Photoshop App

Posted: Fri Apr 12, 2024 5:43 pm
by jan_suhr

Re: Photoshop App

Posted: Fri Apr 12, 2024 6:44 pm
by JimmyHartington
If its just SVG data in the file, maybe you could use the JSON Pickup, and then use Switch to extract the information and write to an SVG-file.
From here you could use Inkscape from the commandline to convert to PNG.
Or maybe PDF to keep it as vector.

Do you have a sample file?