Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Inkscape 0.48 Illustrator's Cookbook

You're reading from   Inkscape 0.48 Illustrator's Cookbook 109 recipes to create scalable vector graphics with Inkscape

Arrow left icon
Product type Paperback
Published in Apr 2011
Publisher Packt
ISBN-13 9781849512664
Length 340 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (18) Chapters Close

Inkscape 0.48 Illustrator's Cookbook
Credits
About the Authors
About the Reviewer
1. www.PacktPub.com
2. Preface
1. Creating and Editing Objects FREE CHAPTER 2. Editing Colors 3. Speeding Up Your Workflow 4. Creating and Editing Clones 5. Live Path Effects 6. Extensions 7. SVG Filters 8. Putting it All Together 9. Raster and Almost Raster 10. Web Graphics Preparation 11. SVG in Websites 12. Draw Freely

Exporting to PNG with different dpi


The most common way of presenting SVG drawings created using Inkscape is by exporting them to PNG (Portable Network Graphics) format. This recipe will show us how this is accomplished and what to look out for, in particular when it comes to exporting the same drawing size (width and height in absolute units like inches) into a picture with a different dpi value. We will also use two of the images we export here in the following recipe, in order to practice importing of images with different dpi.

How to do it...

The following steps will demonstrate how to export an image to PNG:

  1. 1. Choose the Rectangle tool (F4 or R) and create a square. Set its fill to Blue (#0000FF) and apply a diagonal gradient using the Gradient tool (Ctrl + F1 or G). Remove stroke and set it to 450x450 px in size.

  2. 2. Switch back to the Selector tool (Space) and set the units temporarily to inches by choosing in instead of px in the drop-down on the Selector toolbar. Notice the size...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image