[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45881] Diagonal lines visible in PNG image cr
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45881] Diagonal lines visible in PNG image created using pcolor |
Date: |
Sun, 06 Sep 2015 09:03:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
Follow-up Comment #3, bug #45881 (project octave):
This is a ghostscript wrapper that solves the problem
#!/bin/bash
ARGS=()
ARGS+=("-dGraphicsAlphaBits=1")
for var in "$@"; do
[ "$var" != '-dGraphicsAlphaBits=4' ] && ARGS+=("$var")
done
gs "address@hidden"
It basically turns of anti-aliasing for graphics but it is a hack. It should
also be added that the gnuplot backend is also affected.
This bug is similar to the infamous `sound` bug. The bug here is that
ghostscript cannot be used to rasterize the vector graphics. With the MESA
support in 4.0, it is perhaps possible to render to a file directly, without
an external program.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45881>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/