ImageEditor not work with image large size

17 posts, 0 answers
  1. Tuan
    Tuan avatar
    1 posts
    Member since:
    Apr 2014

    Posted 01 May 2014 Link to this post

    Orientation rotate, color fix not work with image large size. I try Image with resolution 3264x1836 and get error 
    "Insufficient memory to continue the execution of the program."
    I used emulator, HTC 8x test. How to fix it.
    My project: http://www.mediafire.com/download/5hk27tzhu0wflx2/TEST_ImageEditor.rar
    Thank.
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 06 May 2014 Link to this post

    Hi Tuan,
    I've posted an answer to your other support thread. Take a look at it and let us know what you think.

    Regards,
    Kiril Stanoev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Victor
    Victor avatar
    3 posts
    Member since:
    Feb 2014

    Posted 22 May 2014 Link to this post

    I having this issue too. May I know which other thread that I can refer to or if it's support ticket how can I resolve this? Thanks.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 23 May 2014 Link to this post

    Hello Victor,

    Thanks for writing.
    RadImageEditor is not designed for editing huge files since the resources on a phone a extremely limited. Please downscale your image to an appropriate size first and then proceed with editing.

    Thank you for understanding.

    Regards,
    Victor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. Victor
    Victor avatar
    25 posts
    Member since:
    May 2014

    Posted 05 Jun 2014 in reply to Victor Link to this post

    Hi,
    Can you guys give us information about limitations? What is the maximum resolution or size and etc. The picture 3264x1836 should take only about 24Mb in memory (w * h  * 4  / 1024 / 1024). I don't think its a problem to hold it on WP apps. Right now the limit is 180Mb for low memory devices. 

    Thanks in advance,
    Victor
  7. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 10 Jun 2014 Link to this post

    Hello Victor,

    Thank you for bringing our attention to this. Our preliminary investigations on this matter shown that even the image itself does not exceed the minimum memory, when transformation starts to be applied the framework consider the memory usage excesive and throws out of memory exception. We will dig deeper into these issues in order to determine better memory handling in such scenarios.

    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  8. Victor
    Victor avatar
    25 posts
    Member since:
    May 2014

    Posted 10 Jun 2014 in reply to Tsvyatko Link to this post

    Hi,
    I`v just tried to load image 4312x2868 through WriteableBitmap and control crashes with Insufficient memory exception or with unexpected range if i delete all tools. I know there is limitation on texture on WP for 4000px but for live-view looks like control create a small image for preview and this can not be bottleneck.

    BitmapImage have a nice properties decodePixelHeight and decodePixelWidth using this properties you can resize image without full unpacking it in memory. I think you need take a look on it.  
  9. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 13 Jun 2014 Link to this post

    Hello Victor,

    Thank you for digging into this matter. We have looked into the issue. You are correct - the thumbnail we use for preview is much smaller than the original and it is not the bottleneck. The issue occurs when processing the original image as we try to preserve the original size. In addition when rotating the image we use slightly bigger bitmap to render the image correctly. 

    We will consider evaluating the image size and if the image when needed scale it down automatically. This will result in creating different, smaller image than the input, so we will add it as an option.

    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  10. Victor
    Victor avatar
    25 posts
    Member since:
    May 2014

    Posted 05 Jul 2014 in reply to Tsvyatko Link to this post

    Hi,
    Any news on that issue?   By the way Nokia Imaging SDK have a nice high perf tools for rotation and etc and optimized on low memory devices maybe you will look at it and use it http://developer.nokia.com/lumia/nokia-apis/imaging ? It have nice feature to reframe image and work with partials of image to decrease of using a lot memory.

    -Victor
  11. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 10 Jul 2014 Link to this post

    Hi Victor,

    we have evaluated using Nokia Imaging SDK and it is in our backlog for future releases. We will do our best to add this in our next official release. 

    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  12. Victor
    Victor avatar
    25 posts
    Member since:
    May 2014

    Posted 17 Jul 2014 in reply to Tsvyatko Link to this post

    Awesome. I'm glad that you guys can listen community thanks for that.

    If you can give us any approximate dates for this release it will be fantastic.
  13. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 22 Jul 2014 Link to this post

    Hi Victor,

    We will do our best to include this in our next official release which will be available at the end of October.

    Let me know should you have any other questions or suggestions.

    Regards,
    Ivaylo Gergov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  14. Victor
    Victor avatar
    3 posts
    Member since:
    Feb 2014

    Posted 13 Aug 2014 in reply to Ivaylo Gergov Link to this post

    So when  the official release is available by October, do we need to include Nokia Imaging SDK in the project reference?

    PS: There are 3 Victors in this thread. What are the changes :)
  15. Victor
    Victor avatar
    3 posts
    Member since:
    Feb 2014

    Posted 13 Aug 2014 Link to this post

    This is the stack trace data for my app from Windows Phone Dev Center. Most of the errors are related to out of memory exception.
  16. Tsvyatko
    Admin
    Tsvyatko avatar
    832 posts

    Posted 18 Aug 2014 Link to this post

    Hi,

    our official release is scheduled for the end of October. Meanwhile we have considering preparing blogpost describing how Nokia Imaging SDK can be utilized to extend our current ImageEditor. Once it is published we will post link in this thread.

    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  17. Victor
    Victor avatar
    25 posts
    Member since:
    May 2014

    Posted 14 Dec 2014 in reply to Tsvyatko Link to this post

    Hi,
    Any news here guys?
  18. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 18 Dec 2014 Link to this post

    Hi Victor,

    Here is the link to the mentioned blog post : http://blogs.telerik.com/windowsphoneteam/posts/14-11-25/leveraging-the-nokia-imaging-sdk-in-your-windows-phone-app.


    Regards,
    Ivaylo Gergov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner