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

Native Development

Reply
Developer
shahumang8
Posts: 671
Registered: ‎08-09-2010
My Device: Not Specified
Accepted Solution

How to get byte Array from image in Cascade?

Hello,

 

   I need some help for get the Byte Array for image.

  

   Actually i developed application of image processing so i need it.

 

Thanks.

   

BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer

Re: How to get byte Array from image in Cascade?

I assume you mean given a cascades::Image, extract the byte array.

Are you able to manage the byte array and populate the cascades::Image only for display?

There is also a thread discussing using QImage as a staging area:

http://supportforums.blackberry.com/t5/Cascades-Development/ImageView-and-Qimage-integration/m-p/177... although since one of your likes is from him, he may have something to add here.

 

Stuart

Developer
shahumang8
Posts: 671
Registered: ‎08-09-2010
My Device: Not Specified

Re: How to get byte Array from image in Cascade?

Hello,

 

 Into Cascade there are Image tage so i know to use the image tag how to convert into into Byte array becuase using the byte array i perfom various image effect so i need it.

 

Thanks.

BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer

Re: How to get byte Array from image in Cascade?

Please request a feature against Blackberry 10 (BBTEN) in Issue Tracker: http://supportforums.blackberry.com/t5/Java-Development/Developer-Issue-Tracker/td-p/271768

 

Stuart