Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F0117A50 for ; Tue, 28 Apr 2015 00:19:09 +0000 (UTC) Received: (qmail 95576 invoked by uid 500); 28 Apr 2015 00:19:09 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 95558 invoked by uid 500); 28 Apr 2015 00:19:09 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 95543 invoked by uid 99); 28 Apr 2015 00:19:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 00:19:08 +0000 Date: Tue, 28 Apr 2015 00:19:08 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8750) WP8: Splashscreen should support pixel-perfect images for each resolution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516019#comment-14516019 ] ASF subversion and git services commented on CB-8750: ----------------------------------------------------- Commit 9549ce3a9df13d6ad19789debc27a41445bb43aa in cordova-plugin-splashscreen's branch refs/heads/CB-8860cordova-plugin-splashscreen from sgrebnov [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=9549ce3 ] CB-8750 [wp8]: Allow resolution-specific splashscreen images There are two aspect ratios for Windows Phone devices: 15:9 and 16:9. At the moment, though, there is only one splash screen by default for WP8 Cordova apps. When stretched to fit all possible resolutions, this can sometimes look bad. WP supports resolution-specific splashscreens, so this commit adds the same support to the splashscreen plugin. It uses the same base name for the splashscreen, but adds modifiers such as ".screen-" based on the device. If a screen-specific image is found, it is used. If not, we fall back to the single default image. Fixes https://issues.apache.org/jira/browse/CB-8750 github close #41 github close #42 > WP8: Splashscreen should support pixel-perfect images for each resolution > ------------------------------------------------------------------------- > > Key: CB-8750 > URL: https://issues.apache.org/jira/browse/CB-8750 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin SplashScreen, WP8 > Affects Versions: 3.7.1 > Reporter: Dan Polivy > Assignee: Jesse MacFadyen > Priority: Minor > > Currently, the splashscreen plugin on Windows Phone only supports a single SplashScreenImage.jpg file, and scales that to fit all device resolutions. But, it is possible to detect the resolution of the device, and allow for pixel-perfect splash screens for each individual resolution. > I have some local changes that I will send as a PR to the plugin that allows one to specify three different images, each of different resolutions to match those supported by WP8. > Resolution Dimensions File name > WVGA 480 x 800 SplashScreenImage.screen-WVGA.jpg > 720p 720 x 1280 SplashScreenImage.screen-720p.jpg > WXGA 768 x 1280 SplashScreenImage.screen-WXGA.jpg -- 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