[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem: low-quality PNG file



Thank you for your reply, John Luciani, Charles Lepple and John Coppens.

This is the result:
http://www.tg.rim.or.jp/~hrst/Electronics/Watering_Device/ Watering_Device.html


It is written in Japanese (UTF-8) but you can at least see photos and schematics :)

I produced the images of these schematics by:
(1) Type 've' in gschem
(2) Resize gschem window to minimize white space outside the titleblock
(3) In print panel, choose 'A4 size' and 'current window'
(4) convert -rotate 90 output.ps output.png

There is unnecessary space over each schematic, which, I suppose, will be eliminated by
writing appropriate printing script like your 'gschem-print.scm'.


---
Hiroshi TOMARU

On Aug 1, 2005, at 4:44 AM, John Luciani wrote:

To print out the load cell schematic
(from http://www.luciani.org/geda/util/matrix.pdf)
I used the following commands in a Makefile (change your paths
and options appropriately):

gschem -oload-cell.ps -s/local/lan/geda/scheme/gschem-print.scm load-cell.sch
ps2epsi load-cell.ps load-cell-sch.epsi
convert -density 288 -rotate 90 -fill "#F0F0E0" -opaque white
load-cell-sch.epsi load-cell-sch.png


(* jcl *)


On 7/29/05, Hiroshi T. <mlht@xxxxxxxxxxxxxxxxxx> wrote:
Thank you, John Luciani and  John Coppens.

On Jul 29, 2005, at 9:20 PM, John Luciani wrote:
The problem may be the way that your viewer is converting vectors
to dots.

In the document at http://www.luciani.org/geda/util/matrix.pdf
I used image-magick to set dot densities.

For the PCB layers I used the command-line

  convert -density 576

For the schematics I used

  convert -density 288

(* jcl *)


On 7/29/05, Hiroshi T. <mlht@xxxxxxxxxxxxxxxxxx> wrote:
Hello, there!
I'm quite new to circuit editors. I've just tried the gEDA tutorial.
I want my circuit designs to be exported to Web pages.
I saved the tutorial's file one.sch as a PNG file and saw it by an
image viewer to find its texts consist of rather small number of dots.
I'm on Mac OS X 10.3.4.


Are there any ways to improve the quality of resulting PNG files?
Thanks in advance.




Do you mean converting PNG file to PNG or any other format by ImageMagick's convert command with -density argument or converting directory from gschem format?

My understanding is that gschem allows to export only to PNG.

On Jul 30, 2005, at 12:36 AM, John Coppens wrote:

On Fri, 29 Jul 2005 10:40:33 -0300
John Coppens <john@xxxxxxxxxxxx> wrote:

Export you PCB to a EPS (Encapsulated Postscript) file - then import
it
in GIMP - set the interpolation for text and line to highest quality.
The result is excellent!

Sorry - this is valid for schematics too, of course.

Exporting to EPS would be the best way. How do you convert gschem files to EPS except screen capture?

---
Hiroshi TOMARU