Skip to main content

Simple Tool to create explorer tree icons for the SAP Commerce Backoffice interface

Project description

SAP Commerce Cloud Backoffice icon converter

Simple Tool to create explorer tree icons for the SAP Commerce Backoffice interface from simple icon files.

Why is this needed?

screenshotBackoffice

The SAP Commerce Cloud Backoffice interface requires a special crafted sprite image to show it as icon in the explorer tree. This tool helps creating this sprites based on a simple icon file.

overview

How to use it?

The simplest case is to convert a single icon. For this you must have an input icon meeting the following criterias:

  • Size is 16x16 pixels (given by SAP Commerce)
  • Transparent background (otherwise it will not really work)
  • File format should be "png"

To run the icons creator, make sure to have Poetry installed (see https://python-poetry.org/docs/).

Run the following command to create the sprite (replace the example icon with your own):

$ poetry run python backofficeIconConverter.py exampleIcons/star.png
Process icon exampleIcons/star.png...
exampleIcons/star.png => exampleIcons/backoffice-star.png

That's it! Now you can use this icon sprite in your custom Backoffice extension as icon for your custom types. For more help on how to do this, see Tutorial.

You can also convert multiple icons:

$ poetry run python backofficeIconConverter.py ~/FolderWithSomeIcons/* --output converted

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sap_commerce_backoffice_icons-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file sap_commerce_backoffice_icons-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sap_commerce_backoffice_icons-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9fb5ed3ab32c1df7c62fa529a37f8bf377ca1f87cab39a13f27d3d33dd8b304
MD5 1c9bf596ee6c33c68835d8d79871bbe7
BLAKE2b-256 ec926867323259c2cd28209c9fd1f6dfb45e97c7d1575c2c0aef712942e73492

See more details on using hashes here.

File details

Details for the file sap_commerce_backoffice_icons-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sap_commerce_backoffice_icons-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a598d7c91e2c576d47eeafdab5033a5584128027fc548e9b2832508eecaa7044
MD5 d95f7597fd44366c750833f95602f9e1
BLAKE2b-256 597838297fff384b36086a19d89967648041afa037ae5be50ae48f36d92c899c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page