cancel
Showing results for 
Search instead for 
Did you mean: 

resize image

Anonymous
Not applicable
Hi , i want to resize my image based on width and height as inputs, is there a best way to achive this.  
4 REPLIES 4

John__Carter
Staff
Staff
You'll need to use a code stage, there is no way to do this natively in BP.

Anonymous
Not applicable
Thanks Jhon for reply. i've used c# code stage to get it , No library is accepting for the resizeimage & bitmap for convertion :). i would be a great help if someone can post best way to get it done.   regards, kalyan srujan

BastiaanBezemer
Level 5
Hi Kalyan, Just one line of code will do. 'In:    Picture In (as Image) 'In:    Scaling Factor (as Number) 'Out: Picture Out (As Image) Picture_Out = new System.Drawing.Bitmap(Picture_In, New Size(Picture_In.Width * Scaling_Factor, Picture_In.Height * Scaling_Factor)) Hope this helps.

Anonymous
Not applicable
Thank you so much bastiaan, this is the excat one i'm looking for.