install4j assets in Mac retina display - macos

I created an installer for Mac OS X and I noticed all the images being used (in banners and such) are blurry on retina display Macs.
AFAIK when building a retina display app, you provide two images (one normal def, and one high def) and OS X uses the right one.
I tried using the high resolution image but it pushed all of my content to the side.
Are retina displays supported by install4j? I know they are supported for launcher icons, but how do I configure high resolution assets for my installer pages?
Thank you!

As of install4j 5.1.x, there is no support for high-definition images. In install4j 6 it will be possible to place a file with an additional #2x after the name (e.g. image.png and image#2x.png) into the same directory as the selected image and install4j will pick it up and use it on retina displays.

Related

xCode publish App Icon Error

When I try to publish my app to the app store, it shows me two errors:
First: Missing required icon, the bundle does not contain an app icon for iphone/ipod of exactly 57x57 in png format for iOS version <7
Second: Your binary is not optimized for iphone5 - new iPhone apps and app updates submitted must support the 4 inch display on iPhone 5
Does my icon need to be 57x57 or can I use any size and the system will resize it for me?
thanks.
Yes, you need a 57x57 png in your build. I would recommend reading the iOS Human Interface Guidelines: App Icons material.
When u publishing an app icon you shouldn't use transparency it is forbidden apple does it for u automatically.
When you changed png to jpg the background became white , and solved your problem retroactively:-)
I actually found a solution for that.
Whenever you added icon to the image asset, but it's not showing after you archive the app, its because xcode requires jpg image, if you only change the extension .png to .jpg, it won't work.
Took me awhile to found out.

App icon not displayed on MAC osX 10.5 for my app

I have created .icns using .iconset for my Mac app,containing all sizes of icon recommended by apple. But still I cannot see my app icon when I install and launch my app on Mac osX 10.5
Following Apple's current guidelines and using their latest toolset will give you icons that only work in newer versions of OS X. To get a set of icons that includes larger (#2x retina) resolutions and 10.5 compatible image formats, you need to use Uli Kusterer's oldiconutil.
Also, please see this related question--sometimes icon file sizes can be too large for 10.5, and require extra image compression.

Image.xcassets: Can I specify different app icons for iOS 6 and 7?

I'd like to use different app icons on iOS 6 and 7. (I need this due to the different rounded rectangle shapes because my icon includes a border line.)
For most sizes this is not a problem because the sizes are different. However, the iOS 6 spotlight icon and the iOS 6-7 settings icon both use a 29*29 (non-retina) or 58*58 (retina) app icon.
I'm wondering if the new xcassets bundles could be used to specify different icon files for the different OS versions.
The Contents.json file inside the xcassets bundle specifies an array of images with various selectors such as size, idiom and scale. Unfortunately I couldn't find any documentation on the file format (probably it's not even public in Apple's view).
My question: Is there also a selector for the OS version that allows me to specify different 29*29 icons for iOS 6 and 7?
With the introduction of the new xcode (xcode 5) you can now specify different app icons and launch icons in the assets file. Notice on the image below that in xcode 5 you now have image.xcassets file. and in that file notice that you have AppIcon and LaunchImage and on that you have iPhone Spotlight iOS 7 40pt and iPhone App iOS 5, 6 57pt. Jeremiah Smith has indicated this isn't possible with an out of date link which was still valid until xcodee 5 is released, but it is possible.

Retina issue (OS X)

I am creating a Cocoa app, and when I import #2x images into my project, no image shows up in the app at all. I am using a non-Retina MacBook Pro.
If I have an image, such as image.png, it shows up correctly.
When I import image#2x.png into the project, no image shows when the app is run (even the normal image).
When I change image#2x.png to image#2xx.png (or some other name), the image shows up again. However, now I can't show the image on a Retina device.
Am I not handling Retina images correctly?
You need to include the image.png AND the image#2x.png in your project. Also make sure that when you load the files you do not include the .png extension.

Create dmg with Retina background support?

I need to make a dmg that support both 1x and 2x background, but there seems no info about retina in hdiutil or other tools like dropdmg. I create a normal one and it apparently blurs on Retina MBP. Any one have a solution?
A guess: a multirepresentation TIFF file might work, see first paragraph of this Apple link. HTH.
TIFF files with 2 representations work as folder background images for Retina as expected. Mac OS X 10.5, 10.7 and 10.8 show a correct BG representation depending on whether HiDPI is available or not. Unfortunately 10.6 shows oversized high resolution representation instead of a normal one, which makes it unacceptable if you're targeting 10.6 as well.

Resources