Re: [manifest] Manifest format should support some way of including a splash screen (#9)

On March 9, 2015 at 8:48:12 AM, Kenneth Rohde Christiansen (notifications@github.com) wrote:
> Would it be too bad? like
>  
> "image.png 30px stretch 30px stretch 20px repeat 20px repeat"

Personally, I think it's better just to encode this information directly in the image file. 

However, the above would be simple to parse so long as we don't combine URL and stretching information together.

> I guess the image would work, but it would then only work with non-lossy formats like PNG  
> (WEBP?)

Yeah, that's the tradeoff. However, we would get all those 9-patch images already being used on Android for free. 

Maybe there is a third option of adding "auto" to the patch parser above.
 


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/9#issuecomment-77848336

Received on Monday, 9 March 2015 12:59:36 UTC