Copy link to clipboard
Copied
Hi,
Is there a way I can create a custom output node that export json file? If so, is there any totorial on how to do this?
apperciate any helps!
thanks!
Copy link to clipboard
Copied
Hello @MYU0207,
Thanks for the message.
Depending on what datas you wish to export, this is possible trough our Python API, but I'll need to know a bit more on your project to give you a proper help. What do you need to export?
Copy link to clipboard
Copied
Hi Cyril,
Below is an example setup in Designer. I want to import couple images, make them tilable and export them out into a 'png' and with a 'json' file for each bitmap. For each json file, I will need to manually input value that reflects real world tile sizing (float) for each bitmap.( example below, I will need to have empty fields to input values) .
Copy link to clipboard
Copied
Thanks for the clarification.
There isn't a simple way to export a physical size per images into JSON file, but I'd advise you to proceed as this:
With that being said, I am curious to know where the physical size value comes from. Is it a metadata from the picture?
Keep me posted,
Copy link to clipboard
Copied
Hi Cyril,
thank you for your help. the physical size value comes from product listing on the webpage. that being said, we decided to generate the pngs from designer and make the json outside of the designer. thanks again!