Hot answers tagged


That's actually Inkscape's default. Open File → Document Properties and click the background colour. Make sure the alpha channel is 0. As so: Go to File → Export Bitmap (Shift+Ctrl+E) and save a file with a .png extension. You're done.


open terminal by CTRL+ALT+T for libpng type this or just copy & past sudo apt-get install libpng-dev zlib type this or just copy & past sudo apt-get install zlib1g-dev


Try these commands, mogrify -format png /path/*.jpg This will convert all the .jpg files into .png files and saves the converted files in the same directory. mv /path/*.png ~/Desktop/pic This will moves all the .png files(converted) to the pic directory which resides on the Desktop.


Yes, using imagemagicks convert tool: convert -delay 20 -loop 0 frame*.png animated.gif This will take all of the source frames and will make them into one animated GIF image. The -delay 20 argument will cause a 20 hundredths of a second delay between each frame, and the -loop 0 will cause the gif to loop over and over again. As for setting the ...


It appears you can use Inkscape from command line: `#{INKSCAPE_PATH} -z -f #{source_svg} -w #{width} -j -e #{dest_png}` more details I imagine you can write a simple bash script to process all SVG files: #!/bin/sh for file in *.svg do /usr/bin/inkscape -z -f "${file}" -w 640 -e "${file}.png" done the example above converts all .svg files in the ...


(All one line:) for file in *.png ; do pngcrush "$file" "${file%.png}-crushed.png" && mv "${file%.png}-crushed.png" "$file" ; done should do it. (THough so far in my own tests, less than half of the pngs I tested pngcrush on were smaller afterwards, so color me unimpressed.)


Using ImageMagick. First install imagemagick: sudo apt-get install imagemagick Try converting just one image at first: convert image.jpg image.png Now convert all: mogrify -format png *.jpg EDIT You also need to split it into chunks that will fit to avoid hitting the limit of how much you can put on a command line. This should work better: find -...


Since version 1.7.22, pngcrush has an overwrite option. Try pngcrush -ow file.png See Changelog for more information: Version 1.7.22 (built with libpng-1.5.6 and zlib-1.2.5) Added "-ow" (overwrite) option. The input file is overwritten and the output file is just used temporarily and removed after it is copied over the input file.. If you ...


You can use: png2icns file.icns file.png The first one is the name you want your .icns file to have. The last one is the .png file you want to export as an icon. Important: Only convert the icons that match sizes icns supports: (16x16, 32x32, 128x128, 256x256, 512x512 and 1024x1024 pixels) Or you can use an online service: iConvert Icons Source: ...


I remember reading on heise (german) that someone wrote a plugin to revert back to the old functionality. Runnning the following commands in a terminal will download the latest version of the plugin to Gimp 2.8's config directory and make it executable: gimp_dir=".gimp-2.8" wget -O ~/${...


So you are looking for raster to vector graphics converter. potrace & autotrace both are in Ubuntu repository. Myself I tried potrace before which gave nice results with default options. As I remember, both tools do not support compressed formats as input, only bitmap images. See Potrace examples Potrace: utility to transform bitmaps into vector ...


Starting from GIMP 2.8 we need to use the "File → Export" or "File → Export to..." menu entries, or alternatively the Ctrl+E or Ctrl+Shift+E keyboard shortcuts respectively, which will result in the Export dialog to allow you to save the work in your favorite image format. The former Ctrl+S and Ctrl+Shift+S is now used to work with the project ...


Imagemagick seems to be very violent with memory usage. A suggestion is to use -limit to limit the memory size convert will use, it should use a disk cache for anything else it needs. Read an explanation here: And here's how to use the -limit option :


If your favorite tool is "shutter" you can try to create a little plugin for it. Creating Plugin for Shutter. 1) Make sure you have installed optipng, or install it with: sudo apt-get install optipng 2) If shutter is running close it or kill it.. pkill shutter 3) Create a folder for the plugin and give it the correct perms. (eg:optipngplugin) ...


For my workflow here the definitely fastest way to safe an edited file back to the path it resides is using the "File -> Overwrite xxx" menu which appears after an existing file was edited: To further speed things up we can also define a key shortcut for file-overwrite which, after removing the shortcut for file-save could also be Ctrl + S :


Gimp is freeware software made for linux, and the deep clicking you are mentioning, thats a common problem, because it returns you to the home folder, or any other folder you used last session. Thats a bug i think should be reported to the developers of gimp. ctrl+s is to save it as a Gimp-project. When saving it as an image, you should export it, using ...


If you look at the quickstart guide on nagios' website, you'll notice that the guide for Ubuntu 7.10 and later asks you to install libgd2-xpm-dev with this command: sudo apt-get install libgd2-xpm-dev That should do it for ya! Of course you could always follow the Ubuntu Server guide and install the nagios packages instead of building it yourself.


Why gimp? Try imagemagick package. It's a great command line image processor. In your case you can use it like: convert -negate src.png dst.png


You are probably not exporting the whole image. I think by default Inkscape exports only what you have currently selected. So when you export, make sure you have everything you want selected, or choose "Page" in the export type.


You probably need to tell Eclipse which editor to use. Go to Preferences > General > Editors > File Associations. Create an entry for *.png if necessary and then Add an Associated editor specifying the External program you want to use.


Open File -> Document Properties and click the background color. Then set alpha 0 in background color dialog -> close the dialog -> File menu -> Export Bitmap -> Choose export file name (click on Browse button -> type file name with .png extension) -> click on Export button. ! Done.


Install imagemagick: sudo apt-get install imagemagick An a simple command: convert <your_png> out.tiff Or for all files in your folder: for f in *.png; do convert "$f" "${f%%.*}.tiff"; done


A simple loop could do the trick: for i in set1*.png; do eog -n "$i" & done


Graphical Nautilus Script Overview The command line is great for batch conversions but sometimes you just don't want to leave the comfort of your GUI. That's why I coded a GUI-based Nautilus script to batch convert SVG files to PNG images. Other file managers with custom actions (e.g. Thunar) should be supported, too. Screenshot Script #!/bin/bash #...


Following up on the Glib-GIO-CRITICAL issue, I googled around a little and found it actually was a known issue with libglib. I had another outstanding problem with that, and question on askubuntu. I went ahead with rolling back a version, and the problem was corrected. Details for what was rolled back are here: How do I downgrade libglib2? (from glib 2....


Inkscape has got an awesome auto-tracing tool. Install Inkscape using sudo apt-get install inkscape Import your image Select your image From the menu bar, select Path -> Trace Bitmap Item Adjust the tracing parameters as needed Check their tracing tutorial for more information. Once you are comfortable with the tracing options. You can automate it by ...


If you have GNU Parallel try this (based on Letizia's solution): #!/bin/bash if [ $# -eq 1 ]; then width=$1 height=$1 else if [ $# -eq 2 ]; then width=$1 height=$2 else echo "Error: missing parameters!" echo "Usage: width [height]" exit 1 fi fi parallel inkscape -f {} -w $width -h $height -e {.} ::: *.svg ...


I use the Phatch. You will have to create the actionlist with the graphical user interface (gui), and later invoke it from the command line. Install: sudo apt-get install phatch Phatch is not only about converting from one format to another, but you can also batch crop, rotate, etc. After install select the program from the dash or type phatch into ...


Simple Scan stores its settings in dconf database rather then in your profile. Its keys can be listed by the command: gsettings list-keys $(gsettings list-schemas | grep -i 'simple' | grep -i 'scan') As you can see, there's no mentioning about the preferable file format. At the page of its developers I also found confirmation that there's no way of ...


Instead of specifying your image as step1.png, use this (relative) path in place of it: ../media/step1.png This should cause it to be accessed in the right place, since .. represents the parent directory of wherever the application is currently looking (in this case, apparently /home/jtp/projectnamme/data), and the actual file is located in /home/jtp/...

Only top voted, non community-wiki answers of a minimum length are eligible