Hello, Maximiliano,

> ... oregano uses cairo now ....

thanks for that inside information you give!


> So, removing the option from the export window might be the best option.

Technically, yes, that'd fix this bug. But only in a formal manner.


Individual circuit elements come out red, connecting wires partially red, 
partially blue, connection
points black, writing in green. (I enclose an example.) These colors are useful 
for me while working
in Oregano. But they are no longer useful in the exported end result circuit 
diagram. From an end
result perspective, these colors do not make sense; not for my purpose, anyway.

Again:

> So, removing the option from the export window might be the best option.

Ok - but I'd be asking for a black and white option, as a "wishlist" feature 
request.

(If you develop folks think two steps are a good way to handle this, we can do 
it that way.)


Finally, for the record: As my workaround, I presently use something like

pngtopnm < XYZ-color.png | ppmtopgm | pgmnorm -wvalue 255 -bvalue 180 | 
pnmtopng > XYZ.png

> I might be able to hack something for the png export, but for the other 
> formats
> I'm not really sure how to convert them.

You may be able to hack something equivalent to my pipe for the png export. In 
my opinion (and I'm
somewhat of a developer myself), it'd smell like a kludgy hack. There should be 
a cleaner way. But
then, I don't know anything about cairo.

Regards,

> I'll talk with the main oregano developer and see what we can do.

and again thank you,

Andreas


> Hola Andreas Krüger!
> 
> El 07/05/2009 a las 17:30 escribiste:
>> Expected result: A black and white .png - file is generated.
>  
>> Result seen: A .png file is generated all right, but it has colors.
>  
> I believe the "black and white" radio button is a left over of a pre-cairo
> export, oregano uses cairo now, and it seems there is no easy way to convert a
> cairo surface to black and white or grayscale. I might be able to hack
> something for the png export, but for the other formats I'm not really sure
> how to convert them.
> 
> So, removing the option from the export window might be the best option.
> 
> I'll talk with the main oregano developer and see what we can do.
> 

<<inline: Oszi.png>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to