Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Canonical
on 30 June 2011


Some of you out there may have already seen that funky print shop MOO.com just launched a new product, round stickers. This means that you can now upload round images and make lovely bespoke stickers in a pack of 52. Full disclosure before I start to say that I used to work at MOO.com which is why it appealed to me to play with their product. Anyway, as soon as I saw these new stickers I thought of one thing and that thing was pictograms!

Our pictograms are a beautiful library of icons that help us illustrate the Ubuntu world and they’re all round.

“Perfect-o!”

I thought, I’ll grab the PNGs from design.canonical.com/brand, upload them and be handing out stickers around the office in no time!

But … horror of horrors … the pictograms we’ve made and put online are all 113 x 113 px and MOO recommend at least 472 x 472 px and their uploading tool doesn’t yet accept SVGs which left me with a big problem. I wanted to print 52 stickers and didn’t really want to manually open 52 images and scale them in Inkscape and resave them.

“I need to automate this!”

So here’s what I did to get my lovely pack of stickers made and what you can do to make your own pack of pictogram stickers.

What you will need …

Got it all? Right! Let’s get cracking!

So unzip your pictograms and open up Inkscape. Then select all the ones you’re going to want to resize and drag them from the folder window into Inkscape.

Next you want to make these tiny little objects bigger so to do this select Object from the top menu bar and choose Transform from that drop down. Make sure you have all the pictograms selected and click on the scale tab.

Because we want to give MOO some nice big images let’s make them massive. I’ve made mine scale proportionally by 1500% and make sure you apply this to each object. Hit apply and zoom out because your screen is now filled with big orange shapes.

Next up we want to add a bit of space around our objects. Whenever you print something you need to provide an area around the image known as bleed. This will allow for the fact that your small item is being printed on a large piece of paper or card and being cut out and you want your image to go right up to the edge. This will become clearer when you upload your PNGs.

To add the bleed around mine I’ve cheated and added an invisible stroke to each object – there may well be a better way to do this but I’m excited and this is how I’ve made it work. You can do it my way by right clicking on your selection of all your pictograms and choosing Fill and Stroke.

First of all select the last tab Stroke style and enter a width of say 200px .Then select the second tab Stroke paint and click the second box in to choose Flat colour. This will immediately cover your lovely pictograms in a thick black line, not at all what we’re after, so reduce the alpha channel, the fourth bar in that pane to 0 to make our stroke transparent.

SAVE! You never know!

Now we need to be able to see all our lovely pictograms before we export them as PNGs. To do this click again on Object in the top menu and choose Align and Distribute from the bottom of that menu. This will bring up another panel with a section called Remove overlaps. I entered 100 into the vertical and horizontal just to give a little room around each object. Then click the icon next to these boxes and behold in amazement as all your pictograms sort themselves into an orderly group!

AMAZING!

Now we’re ready to export our pictogram PNGs. To do this click on File and choose Export Bitmap from the menu. You want to export each object individually so check that box at the bottom of the export window and click Export.

This will export your PNGs to the same folder you saved your inkscape file in earlier. We’re not done yet though! There’s no such thing as transparent ink and MOO will turn our strokes black again so there’s one last step we must go through and that means firing up Gimp.

If you’ve never installed a Gimp plugin before – and I hadn’t – there are plenty of guides to get you going. It’s as simple as typing make in the correct directory from a terminal window. If you get stuck drop me a line but for now I’ll assume you have the batch processing plugin installed.

Once you’re in Gimp head over to the Filters menu in the top bar and select Batch Process.

This tool will pop up, in the input tab choose to add files and select the PNGs that Inkscape made for you. Then select the Rename tab and select a new output directory – we don’t want to overwrite and mess up the originals. Also select to flatten the images, this will remove the transparency for you. Lastly on the output tab choose PNG from the dropdown of file types. The Default should be fine. Hit start and you should fill your new folder with lovely print ready pictogram PNGs.

Try saying that three times fast!

The end is in sight! All that remains is to head over to MOO’s sticker page and make your own stickers. Upload your PNGs, crop, rotate and generally play and in no time at all you’ll have some lovely stickers in your house, on your laptop, on your friend’s laptop, on your cat, basically anywhere you put them!

Enjoy!

Look out for a follow up post when mine arrive! 🙂

Related posts


Maximilian Blazek
6 November 2024

Designing Canonical’s Figma libraries for performance and structure

Design Article

How Canonical’s Design team rebuilt their Figma libraries, with practical guidelines on structure, performance, and maintenance processes. ...


Luci Stanescu
28 October 2024

Imagining the future of Cybersecurity

Ubuntu Security

October 2024 marks the 20th anniversary of Ubuntu. The cybersecurity landscape has significantly shifted since 2004. If you have been following the Ubuntu Security Team’s special three-part series podcast that we put out to mark Cybersecurity Awareness Month, you will have listened to us talk about significant moments that have shaped the ...


Canonical
10 October 2024

Canonical Releases Ubuntu 24.10 Oracular Oriole

Cloud and server Article

The latest release of Ubuntu delivers a cutting edge kernel and enhanced desktop security. 10 October 2024 Today Canonical announced the release of Ubuntu 24.10, codenamed “Oracular Oriole,” available to download and install from ubuntu.com/download. Ubuntu 24.10 delivers the latest kernel, toolchains and GNOME 47 desktop environment alon ...