Apple's documentation says touch icons must be PNG; however I've found reports on the web that JPEG will work for an iPhone icon.
I need to test this, because I was planning on adding a little bit of upload validation to check it was a PNG.
Apple's documentation says touch icons must be PNG; however I've found reports on the web that JPEG will work for an iPhone icon.
I need to test this, because I was planning on adding a little bit of upload validation to check it was a PNG.
Comments
Comment #1
andrewmacpherson commentedhttp://www.myguysolutions.com/2010/01/27/create-a-custom-apple-iphone-ic...
Comment #2
klonos...or just to be sure/safe you can use ImageCache and ImageCache Actions to convert any uploaded image to the dimensions and format that comply to Apple's specification. So, perhaps adding support for these modules sounds better(?). Just a thought.
Comment #3
andrewmacpherson commentedI don't want to introduce a dependency for these modules in D6.
Given that imagecache is in D7 core, I might consider using it there.
see also #1090430: Multi-resolution Touch Icons (iPad, Retina Displays)
Comment #4
klonos...well, I won't argue other than what I proposed was not adding a dependency rather than support. IOW the module would continue to function in 6.x the way it used to, but in case these two modules were present, then it would take advantage of their features.
Comment #5
andrewmacpherson commentedGood point.
Comment #6
klonosThanx Andrew ...postponed then(?) ;)
Comment #7
andrewmacpherson commentedOn the one hand, Apple say it should be a PNG, so we should validate or convert to ensure only PNG icons.
On the other hand, blow the specs. If JPEGs work as touch icons, then you could say that's just an undocumented feature.
If JPEG touch icons can be shown to be harmful in some way, like not working on early iOS versions, then it I'll fix it.
Comment #8
klonos...fair enough.
Comment #9
andrewmacpherson commentedtidying up my issue queue