avatar
Today is Donnerstag
9. September 2010

Suchergebnisse Schlagwort: SVG

23. November 2007

Entdecke die Möglichkeiten: Inkscape, pdf2svg, svg2pdf und mehr

Das Computer Board Forum

Was wird einem alles allein an Möglichkeiten angeboten, wenn man nach pdf2svg googelt:
Quelle 1:

#!/bin/bash
 
# you need gs-common, pstoedit and skencil to
# get this script working
export BASENAME="`basename $1 .pdf`";
 
# convert PDF to postscript
pdf2ps ${BASENAME}.pdf
 
# Outline fonts
eps2eps -dNOCACHE ${BASENAME}.ps ${BASENAME}2.ps
 
# Fix bounding box
ps2epsi  ${BASENAME}2.ps  ${BASENAME}3.ps
 
# Convert to Sketch
pstoedit -f sk  ${BASENAME}3.ps  ${BASENAME}.sk
 
# Convert to SVG
skconvert  ${BASENAME}.sk  ${BASENAME}.svg

oder auch
Zitat 2:
pstoedit -page 1 -dt -psarg "-r9600x9600" -f sk foo.pdf foo.sk
inkscape -z -f foo.sk -l foo.svg

Warum in die Ferne schweifen, wenn das Gute liegt so nahe?

Allein pdf2svg und svg2pdf geht beides direkt mit Inkskape selbst, sogar mir mit drag and drop support.

Einfach Inkscape hier downloaden und installieren.

In der aktuellen Download-Version geht das ganze momentan (noch) nicht, dazu muss man sich einen aktuellen Inkscape Build herunterladen, am besten die oberste Datei, sofern diese nicht gerade erstellt und deshalb nicht mit 7-Zip entpackt werden kann.

Den Inhalt des Inkskape-Ordners der .7z (7-Zip) Datei kopiert man am besten in den Inkscape Programm-Ordner und überschreibt damit die alten Dateien, alternativ kann man natürlich auch direkt die inkskape.exe direkt aus dem enpackten Ordner starten.

Lasst Euch überraschen! Hier die Übersicht der Eingabe und Ausgabeformate, die man so natürlich direkt konvertieren kann:

Eingabeformate Ausgabeformate
Skalierbare Vektorgrafik (*.svg)
Komprimiertes Inkscape-SVG (*.svgz)
Adobe PDF (*.pdf) [via poppler]
Adobe Illustrator (*.ai) [PDF-based]
Enhanced Windows-Metafile (*.emf)
Windows-Metafiles (*.wmf)
WordPerfect-Grafik (*.wpg)
GIMP-Farbverlauf (*.ggr)
Adobe-Illustrator-SVG (*.ai.svg)
Microsoft XAML (*.xaml)
ani (*.ani)
png (*.png)
bmp (*.bmp)
wbmp (*.wbmp)
gif(*.gif)
ico (*.ico)
ico (*.cur)
jpeg (*.jpeg)
jpeg (*.jpe)
jpeg (*.jpg)
pnm (*.pnm)
pnm (*.pbm)
pnm (*.pgm)
pnm (*.ppm)
ras (*.ras)
tiff (*.tiff)
tiff (*.tif)
xpm (*.xpm)
xbm (*.xbm)
tga (*.tga)
tga (*.targa)
pcx (*.pcx)
Inkscape-SVG (*.svg)
Normales SVG (*.svg)
Komprimiertes Inkscape-SVG (*.svgz)
Komprimiertes SVG (*.svgz)
Postscript (*.ps)
Encapsulated Postscript (*.eps)
Cairo PDF (*.pdf)
Cairo PS (*.ps)
Enhanced Metafile (*.emf)
PovRay (*.pov) (exportiert Splines)
OpenDocument-Zeichnung (*.odg)
LaTeX mit PSTricks-Makros (*.tex)
Desktop Cutting Plotter (*.DXF)
GIMP-Palette (*.gpl)
Microsoft XAML (*.xaml)
Komprimiertes Inkscape-SVG mit Medien (*.zip)
png (*.png) (Über Export-Funktion)
Tags: xaml, pstoedit, Export, bmp, Import, xpdf, pdftosvg, OpenDocument, konvertieren, pdf2ps, svgtopdf, ai, PNG, emf, SVG, ghostscript, postscriptPovRay, Inkscape, ps, gif, formate, eingabeformate, exportieren, skconvert, openoffice, jpeg, pdf, importieren, odg, cairo, wmf, skencil, svgz, ausgabeformate, jpg, poppler, Allgemein, pdf2svg, convert, svg2pdf

16. November 2007

Kostenlos Vista und XP kompatible Icons erstellen

Das Computer Board Forum

Wenn man neue Windows Software programmiert hat, möchte man auch ansprechende Windws Icons dafür erstellen.
Erstmal erstellt man in Grafikpogrammen, wie z.B. Gimp, Artweaver, Paint.NET, oder Vektor-Programmen wie z.B. Inkscape (als SVG) ein quadratisches Bild als Basis, am besten in den Dimensionen 256 x 256 und größer.

Dann exportiert man dieses Bild in eine PNG-Datei, um auch die transparenten Flächen, die sogenannten Alpha-Kanäle, direkt als solche konvertieren zu können.

Die PNG Datei importiert man in IcoFX (Datei => Bild importieren) und zwar als True Color + Alpha-Kanal (32 bits) bei Größe 256 x 256.

Sollte das Orginal-Bild größer als 256 x 256 und nach dem Import beschnitten, also nicht skaliert, sein (sofern gewünscht), kann man das vorher einstellen (Optionen => Einstellungen => Aktionen => Einfügen / Importieren).

Jetzt kann man die Basis-Version der Grafik erstmal nach seinen Wünschen bearbeiten, bis man zufrieden ist.

Zum Schluss lässt man die Grafk als Symbol erstellen (Symbol => erstelle Symbol von Bild),
wobei man nach den gewünschten Farbtiefen und Dimensionen gefragt wird.

Diese kann man nun nochmals alle nachbearbeiten, bevor man das Icon speichert.

Die erstellte .ico Datei enthält danach alle vorher ausgewählten Formate.

Hier die Orginal-Feature-Liste von IcoFX

  • Support for Vista icons with PNG compression
  • Create icons for Windows 98 / ME / 2000 / XP / Vista
  • Support for alpha channel
  • New: Batch processing
  • More than 40 effects, including Drop Shadow
  • Create custom filters
  • New: Multiple language support (Included translations: Catalan, English, German, Hungarian, Japanese, Romanian, Spanish and many more available as a separate download )
  • Resolutions up to 256×256
  • Data types: 2, 16, 256, True Color, True Color + Alpha
  • Extract icons (including Vista icons) from 32 bit exe and dll
  • Import / export images (transparency also)
  • Many useful drawing tools like brush, line, rectangle and more
  • Transparent, Brighten/Darken, Blur/Sharpen tools for retouching
  • Create icon from an image with a single click
  • Adjust the contrast, brightness, hue, saturation, transparency and color balance of icons
  • Change the dimension of images
  • New: Images can be faded using the fadeout dialog
  • Increase / decrease the opacity of an image
  • New: Easy shadow handling
  • RGB and HSB color modes
  • New: History of recently opened files
  • New: Window menu for easy window switching
  • Possibility to store favorite colors
  • Capture image from the desktop
  • Grid for precision work
  • New: Side bar for easy image switching
  • New: File Explorer window for easy import
  • New: Full drag and drop support
  • Sizable preview window
  • Multiple undo
  • Blur the edge of the brush
  • Rotate the image at any angle
Tags: XP, Alphakanal, Alpha-Kanal, SVG, transparent, Artweaver, Gimp, Bild, erstellen, true-color, editor, IcoFX, alpha, Icons, Paint.NET, image, Transparenz, PNG, 256, Batch, Inkscape, color, Allgemein, windows, Icon, Vista
© 2010 holger at schadeck.eu – Holger Schadeck All rights reserved - Wallow theme by TwoBeers Crew - Powered by WordPress - Have fun!