Export images from image management

On a previous project, I generated a few custom svg images and uploaded them using the image management tool.

I don't have access to the original files any more, but I do have access to a gateway backup from that project. I have restored the gateway backup onto a temporary VM - how can I extract the images from there, and get them onto another gateway? This post suggested that I can just select Export Project Resources and check the box for images, but I can't see any such box in the export dialog.

They aren't project resources. If you dig around in the config.idb from the backup using an external SQLite tool, you should find them stored as blobs.

The other hack is to run the application, screen-grab, crop and save.

Masochist. :man_shrugging:

3 Likes

Much easier than digging for blobs!

1 Like

in the designer, Tools->Image management you have a save to local disk
image

If the application is in perspective (may be not even be required), you can also get it from a browser using a direct URL: https://gatewayip/system/images/imagemanagementsubfolder/image.svg

1 Like

resources are also in a subfolder {Ignition folder}/data/projects/.resources but file names are not great so you will need to open every file there to find the one you want

Perspective isn't required. This is probably the way to go unless you have hundreds of images.

At some point, I'd like to add support for this to Kindling: https://github.com/paul-griffith/kindling/issues/58

1 Like

Staring me in the face the whole time! Thanks a lot, that's much easier than digging for blobs or shudder taking screenshots