Splash screen assets generator arbitrary 2MB file size limit

Thread is closed for posting
3 posts, 1 answers
  1. Joe
    Joe avatar
    4 posts
    Member since:
    Apr 2016

    Posted 14 Apr 2016 Link to this post

    When attempting to generate splash screens with 2208×2208 png that is 3.3MB the project properties UI shows a dialog stating:

    Cannot process image

    The provided image does not meet the maximum size requirements.
    The image must not exceed 2MB.

    3.3 MB seems to be a reasonable file size at those dimensions and Ionic CLI `ionic resources` command handles it just fine, but my company is moving to an AppBuilder Visual Studio Extension & CLI workflow so it would be nice if this file size restriction was not imposed.

  2. Joe
    Joe avatar
    4 posts
    Member since:
    Apr 2016

    Posted 15 Apr 2016 in reply to Joe Link to this post

    I was able to reduce the files with this PNG lossless compression color quantizing tool. They ended up with a 40% – 0% reduction in size and will now work with the Assets generator tool. I still feel that 2MB is an arbitrary restriction, however.


  3. Answer
    Georgi avatar
    3 posts

    Posted 19 Apr 2016 Link to this post

    Dear Joe,

    Thank you for sharing your valuable feedback. 

    The 2MB limitation is because of an issue in png prediction re-sizing algorithm which in some cases can cause that the smaller (down-scaled) images to take up more space than the original after getting resized. In such case the project assets can become larger than 50MB, therefore after research we decided that regular optimized splash screen will not exceed the 2MB limit.

    We are going to verify the research again and consider increasing the limit to a more reasonable number. 
    Also, we are working to optimize our compression algorithms.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top