Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
Contributor
Posts: 17
Registered: ‎06-30-2014
My Device: q10
My Carrier: Android
Accepted Solution

Urgent!! CROP image

hi all 

i want to make application before image uploaded to server it will crop first,

i using plugin to take image from gallery but with i want to crop i dcannt done , 

 

 

is there another way ??

 

 

 

best regards

 

Adha

New Developer
Posts: 31
Registered: ‎04-21-2011
My Device: Playbook
My Carrier: N/A

Re: Urgent!! CROP image

I have used Pixastic to do this with webworks, e.g.,:

 

Pixastic.process(oImg, "crop", { rect : { left : 0, top : 0, width : 100, height : 100 } }, function (oCanvas){ ... } );

 

A more complete example is in this question.

Contributor
Posts: 17
Registered: ‎06-30-2014
My Device: q10
My Carrier: Android

Re: Urgent!! CROP image

hello my friend thankyou with your respone

 

but the problem how to save it or just send to the server as jpg format ?

 

 

Contributor
Posts: 17
Registered: ‎06-30-2014
My Device: q10
My Carrier: Android

Re: Urgent!! CROP image