Skip to content

Gimp plugin to write images and icons for all android densities

Notifications You must be signed in to change notification settings

dandalf/gimp-android-xdpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

gimp-android-xdpi

Gimp plugin to export images or icons for any android density : gimpfu_android_xdpi.py

Plugin Screenshot

Installation

  • Download the script gimpfu_android_xdpi.py, save into your gimp plugin directory, ie: ~/.gimp-2.6/plug-ins/gimpfu_android_xdpi.py
  • Restart Gimp
  • Run script via Filters/Android/Write Android XDPIs...

Usage

  • Select area to export.
  • Run the plugin from Filters -> Android -> Write Android XDPIs...
  • Enter the target DP width.
  • Choose density folders to export to : ldpi / mdpi / hdpi / xhdpi / xxhdpi / xxxhdpi.

Example

To write you app icon directly from you full size picture, select area for your icon :

icon selection

Use the reference values for an app icon, 48px on mdpi :

Plugin Screenshot

  1. select your app res folder
  2. Pick drawable or mipmap as your export folder prefix
  3. type icon as the image base name
  4. select image DP width of 48
  5. select densities to export
  6. select image format png

Icon or Image resources for all densities will be scaled and written accordingly. You will be warned if an image has been upscaled

export result

About

Gimp plugin to write images and icons for all android densities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%