Resize text object what's the best way

Post questions on how to use or achieve an effect in Inkscape.
eiger3970
Posts: 13
Joined: Wed Jul 13, 2016 7:28 am

Resize text object what's the best way

Postby eiger3970 » Fri Mar 31, 2017 12:34 pm

Hello, I'm trying to resize my text object to fit a Facebook cover with size 828x315.
However resizing doesn't go smoothly with my .svg file?
I resized via GIMP, but the .png file loses quality and is grainly.

I specifically made the .svg file to keep a sharp image, however resizing in Inkscape 0.91 is not straight forward.
Here my process, but there may be a better/correct way that I'm missing?

Inkscape 0.91 > convert to svg > radio button embed > OK > File > Save As… > image.svg > Save > File > Export PNG Image… > Custom > Image size > Height: edit > Width: edit > Filename > imageName.png > Export.
or
Inkscape 0.91 > convert to svg > radio button embed > OK > File > Save As… > image.svg > Save > click image, so arrows appear > Object > Transform… > Scale tab > % drop down, change to px > check Scale proportionally > edit size > up arrow once, down arrow once > Apply > exit Transform window > File > Export Bitmap… > Browse > Desktop > imageName.png > Save > Export.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Resize text object what's the best way

Postby tylerdurden » Fri Mar 31, 2017 5:03 pm

I would trace the embedded image, delete the image and keep the trace, then resize and export a png.

If your file is just text, you can just type it in Inkscape and resize before exporting as a png.

It might help if you share the file you want to change.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Resize text object what's the best way

Postby Moini » Fri Mar 31, 2017 9:03 pm

PNG images are pixel-based. They will always lose quality if you scale them up, because the pixels will just spread over a wider area (and those in between will be calculated, but that doesn't work too well if the software isn't aware of the image contents).

If you import a PNG into an SVG, it is just that. A PNG in an SVG. It is not converted to a vector graphic. Vector graphics are based on paths/curves and nodes/points. They can be calculated precisely for any zoom level. So to enlarge the image losslessly, you'd need to convert it into paths first.
You can do that by either re-typing the text in Inkscape, using the autotrace feature of Inkscape, or doing manual tracing.

Let us know if you need help with those options.

More info about pixel / vector difference: http://vektorrascheln.de/posts/2015/Dec ... en-en.html
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”