octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46758] octave-logo.ico is cropped not scaled


From: Rik
Subject: [Octave-bug-tracker] [bug #46758] octave-logo.ico is cropped not scaled
Date: Wed, 02 Mar 2016 22:21:19 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #23, bug #46758 (project octave):

@John: Tried your example from comment #19 and it works for me.  Also tried
with '-w 48' and I get an appropriately smaller icon.

Maybe it *is* broken on Fedora.  Do you have any other svgs you could
experiment with so we can rule out the particular svg in this file?

Also, could you play with some of the options for rsvg-convert?  Maybe try
setting both width AND height.  Or enabling the data-aspect-ratio
preservation.


rsvg-convert --help
Usage:
  rsvg-convert [OPTION...] [FILE...] - SVG Converter

Help Options:
  -?, --help                                                  Show help
options

Application Options:
  -d, --dpi-x=<float>                                         pixels per inch
[optional; defaults to 90dpi]
  -p, --dpi-y=<float>                                         pixels per inch
[optional; defaults to 90dpi]
  -x, --x-zoom=<float>                                        x zoom factor
[optional; defaults to 1.0]
  -y, --y-zoom=<float>                                        y zoom factor
[optional; defaults to 1.0]
  -z, --zoom=<float>                                          zoom factor
[optional; defaults to 1.0]
  -w, --width=<int>                                           width [optional;
defaults to the SVG's width]
  -h, --height=<int>                                          height
[optional; defaults to the SVG's height]
  -f, --format=[png, pdf, ps, eps, svg, xml, recording]       save format
[optional; defaults to 'png']
  -o, --output                                                output filename
[optional; defaults to stdout]
  -a, --keep-aspect-ratio                                     whether to
preserve the aspect ratio [optional; defaults to FALSE]
  -b, --background-color=[black, white, #abccee, #aaa...]     set the
background color [optional; defaults to None]
  -u, --unlimited                                             Allow huge SVG
files
  --keep-image-data                                           Keep image data
  --no-keep-image-data                                        Don't keep image
data
  -v, --version                                               show version
information



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46758>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]