loading
 
Not saving "source" image from C#
Jake from United States  [5 posts]
2 years
I have the following line of code in my program:

rr.SaveImage("Source", "c:\temp\testSource.jpg");

I've also tried

rr.SaveImage("source", "c:\temp\testSource.jpg");

It is saving an image, however, it's not the source image. It's the "processed". Just to make sure I'm not crazy I have "WriteImage" modules in the .robo program writing out to "roboSource.jpg" and "roboProcessed.jpg". Those images look correct. I get the before and after images. But the ones saved from the C# calls are still both the "after".

Any ideas?

Thanks
Jake
Steven Gentner from United States  [1371 posts] 2 years
Jake,

This was our fault. We were using the wrong field name in the RR executable and thus never receiving the "source" parameter correctly. It was always defaulting to "processed" as you had determined.

This should now be fixed in the latest version. You should download the latest version of RR to get this fix.

Thanks,
STeven.
Jake from United States  [5 posts] 2 years
Great. Thanks for responding so quickly.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index