You are here

iOS Export - Convert the active image to various user specified iOS images and app icons

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
Version 1.2011.37 KB

This Script-Fu script contains functions that non-destructively convert the active image to various user specified iOS images and app icons.

The following describes the conversion process. First, the active image is duplicated. Second, if scaling is required, scaling is applied to the duplicate image. Next, the duplicate image is exported with a name that follows the iOS naming convention ("@2x.png" for Retina images and ".png" for Non-Retina images, as well as proper iOS app icon names when exporting app icons). Finally after completion of the export, the duplicate image is destroyed. Each image generated started with a clean duplicate copy of the active image.

This script is also located at: https://github.com/m2orris/GIMP-scripts

This script contains three functions.

  • Function Name: export-image-as-app-icons-for-devices
    Menu: File --> iOS Export --> Image as --> App Icons for Device(s) ...
    Exports the required and recommend iOS app icons for the various iOS devices and iOS display types from the active image.

    The recommended resolution of the active image is 1024 x 1024.

    The following are the possible iOS app icon filenames (and resolutions):
    iTunesArtwork@2x (1024 x 1024)
    iTunesArtwork (512 x 512)
    Icon-72@2x.png (144 x 144)
    Icon@2x.png (114 x 114)
    Icon-72.png (72 x 72)
    Icon.png (57 x 57)
    Icon-Small-50@2x.png (100 x 100)
    Icon-Small-50.png (50 x 50)
    Icon-Small@2x.png (58 x 58)
    Icon-Small.png (29 x 29)

  • Function Name: export-image-as-ios-images
    Menu: File --> Export as iOS --> Image(s) ...
    Exports an iOS Retina image and/or an iOS Non-Retina image from the active image. The resulting image(s) are scaled per user specifications.

    Scaling will be either down, up, or none, depending upon the user specified size and the active image's resolution. Scaling is either square or rectangular. Square scaling results in image(s) that have the width and height equal to the size specified. Rectangular scaling results in image(s) that have either the width or height equal to the size specified and the other dimension scaled proportionally.

    If the user specifies that both Retina and Non-Retina images are to be exported, the resolution of the resulting iOS Retina image will be equivalent to the size specified while the resolution of the resulting iOS Non-Retina image will be half of the size. If the user specifies only a Retina or only a Non-Retina image is to be exported, resulting iOS image will be equivalent to the size specified.

    The recommended resolution of the active image is equivalent to the resolution of the largest image to be exported.

  • Function Name: export-retina-resolution-image-as-ios-images
    Menu: File --> iOS Export --> Retina Resolution Image as --> Image(s) ...
    Exports an iOS Retina image and/or an iOS Non-Retina image from the active image. The active image's resolution is equivalent to that of the resulting iOS Retina image.

    The resulting iOS Retina image has the same width and height as the active image. The resulting iOS Non-Retina image has half the width and half the height as the active image.

    The recommended resolution of the active image is equivalent to that of the resulting iOS Retina image.

GIMP Version: 
Scripting Engine: 
Subscribe to Comments for "iOS Export - Convert the active image to various user specified iOS images and app icons"