You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steffen Binas (JIRA)" <ji...@apache.org> on 2016/03/22 14:32:25 UTC

[jira] [Comment Edited] (CB-10924) Support JPG images for store graphics (storelogo etc.)

    [ https://issues.apache.org/jira/browse/CB-10924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206345#comment-15206345 ] 

Steffen Binas edited comment on CB-10924 at 3/22/16 1:31 PM:
-------------------------------------------------------------

Yes it does. I tried it with Visual Studio 2015. If you add the images via the VS GUI you get *.png and *.jpg as file filter in the open dialog.

One thing to note: All scales of one image kind must have the same extension. If you want the storelogo.scale-400 to be a jpg also storelogo.scale-100 etc. must be a jpg.


was (Author: stebi):
Yes it does. I tried it with Visual Studio 2015. If you add the images via the VS GUI you get *.png and *.jpg as file filter in the open dialog.

One thing to note: All scales of one image kind must have the same extension. If you want the storelogo-400 to be a jpg also storelogo-100 etc. must be a jpg.

> Support JPG images for store graphics (storelogo etc.)
> ------------------------------------------------------
>
>                 Key: CB-10924
>                 URL: https://issues.apache.org/jira/browse/CB-10924
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Windows
>    Affects Versions: 4.3.0
>            Reporter: Steffen Binas
>
> Windows Store supports PNG images only up to a certain file size. E.g. the square310x310 with a scale of 400 can easily exceed the maximum accepted size of 204800 bytes.
> Then the only solution left is to use JPG images. But Cordova doesn't accept ".jpg" in the icon config xml because ".png" is hard coded into prepare.js (I'm referring to v4.3.1).
> Prepare.js can easily be extended to remove this limitation. But the generated "package.windows10.appxmanifest" (and the other *.appxmanifest) still contain the reference to e.g. "images\Square310x310Logo.png". I didn't find the place where this could be changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org