Image file after the macro is ran

Share your programming ideas for various measurement and analysis tasks here
Post Reply
Nick Davis
Posts: 8
Joined: Mon Jan 10, 2022 4:16 pm

Image file after the macro is ran

Post by Nick Davis »

Hello. I have now generated two CSV tables that contain my data of interest. How would I place the images of interest that the image analysis wizard (they are black that is color coded red in my results) has created into a file location of my choosing?
CarlZeissMicroscopy3
Posts: 180
Joined: Wed May 20, 2020 10:10 am

Re: Image file after the macro is ran

Post by CarlZeissMicroscopy3 »

Hello Nick Davis,

what you mean is, after calling something like

newImage = Zen.Analyzing.Analyze(image, ias)

and pathAndFileName is a string that represents the location plus fileName you want newImage to be saved on a storage device, simply use

newImage.Save(pathAndFileName)

If the newImage is not of use to you any more, the final call

newImage.Close()

releases memory.
jamieyam smith
Posts: 2
Joined: Thu Mar 23, 2023 12:17 pm

Re: Image file after the macro is ran

Post by jamieyam smith »

Amazing solutions regarding macro is ran: Tower of London Tickets Your solution is absolutely fantastic! You've really gone above and beyond in creating something truly exceptional.
Forrest Santino
Posts: 1
Joined: Tue May 09, 2023 10:34 pm

Re: Image file after the macro is ran

Post by Forrest Santino »

Determine the file format of the images (e.g., JPEG, PNG). Next, create a folder on your computer where you want to store the images. This will help keep them organized. Once you have the folder pinterest image download ready, you can manually move or copy the image files from their current location to the folder you created.
Post Reply