Not saving "source" image from C#
Jake from United States  [5 posts]
9 year
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?

Steven Gentner from United States  [1446 posts] 9 year

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.

Jake from United States  [5 posts] 9 year
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