Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From this SVG file, PNG files of different sizes can be created. It is important that the background of the token be transparent.

tokens

MTB?0

MTB?1

MTB?2

MTB?3

MTB?4

MTB?5

MTB?6

MTB?7

MTB?8

MTB?9

SVG

Image Modified

Image ModifiedImage Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

512px x 512px

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

256px x 256px

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

32px x 32px

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

28px x 28px

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Modified

Image Removed

...

bottle / token

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

Image Added

the token files - ImageMagick

Any adequate tool can be used to prepare the token image files. One extraordinary command-line tool to process these files is ImageMagick.

...

Juxtaposing the token image on the bottle image

...

To combine the token image (at 512x512) with the bottle image (1024px high), and set a 1024x1024 transparent background:

Code Block
convert -size 1024x1024 xc:transparent MTB_bottle.png -geometry +250750+500 token.png white_bottle.jpeg  -define png:color-type=6 juxt0 -composite MTB27_512x512.png -geometry +380+500 -composite MTB27_bottle.png

Adding the token address as metadata to the token image

And finally…why not write the Ethereum contract address for the token into the image files as metadata!

Code Block
MTBMBP:tokens mbarrow$ magick MTB21.png -set comment '0x69d3Af30c63F5bd916bBcD79b58dBc8BD16D0308' bottle2.png 
MTBMBP:tokens mbarrow$ identify -format %c MTB21.png 
MTBMBP:tokens 0x69d3Af30c63F5bd916bBcD79b58dBc8BD16D0308

...