Page 1 of 1

RUBY QUESTION

Posted: Fri May 13, 2016 8:22 am
by tiffy
HOW TO GET THE MODIFIED (ZOOM, ALPHA, ROTATED) IMAGE FROM THE RUBY COMPONENT AS AN OUTPUT INTO THE SAVE BITMAP MODULE INPUT IN ORDER TO SAVE THE MODIFIED IMAGE?

OR CAN IT ALL BE DONE VIA THE RUBY COMPONENT ALONE?

Schematic is only an example to show what I intend to do. Currently it will not save the modified image as there is no available Ruby component outputs that should feed into the save image module in order to save the modified image.

Re: RUBY QUESTION

Posted: Mon May 16, 2016 12:20 pm
by tulamide
You could use the draw-to-bitmap prim. Just connect the view output with a second view input in your RubyEdit and route all drawings to the correct view (wether you're arranging, or you want to draw to a bitmap to save). Keep in mind that you have to calculate the needed size of the new bitmap.