New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sap-commerce-backoffice-icons

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sap-commerce-backoffice-icons

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

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

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"

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

$ pip install sap-commerce-backoffice-icons
$ backofficeIconConverter 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:

$ backofficeIconConverter ~/FolderWithSomeIcons/* --output converted

Install development environment

To install the script for development or to run it directly from source, the following steps are needed:

git clone https://github.com/dev-jan/sap-commerce-backoffice-icons.git
cd sap-commerce-backoffice-icons
poetry install
  • Run the script via Poetry virtual env:
poetry run backofficeIconConverter exampleIcons/star.png

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc