Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • GIMP GIMP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.9k
    • Issues 3.9k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 95
    • Merge requests 95
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GIMPGIMP
  • Merge requests
  • !761

Issue #6112: Add export support for ICNS

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Alx Sa requested to merge alxsa-export-icns into master Oct 22, 2022
  • Overview 6
  • Commits 1
  • Pipelines 14
  • Changes 6

This patch attempts to resolve the other half of #6112 (closed) and add support for exporting ICNS files. Currently it chooses the oldest "modern" ICNS format for a particular layer size and uses this for export (via the file-png-save procedure since modern ICNS formats are all either PNG or JPEG 2000). Since all "modern" types store PNG data with no differences beyond the type label, this should help ensure icons exported from GIMP are useable by default.

As ICNS uses predefined icons based on the type label, the export GUI indicates which layers will not be exported without adjusting the layer size:

image

Feedback on the GUI is appreciated! Another suggestion was to highlight any invalid icons with a distinct border. Is there an existing CSS style/class color that should be used for that purpose?

It is hoped that this patch could also facilitate resolving #5507, as it would be possible export the GIMP icon from source to .icns.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: alxsa-export-icns