'image-color' rc function being completely ignored

Bug #1086530 reported by Peter TB Brett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
In Progress
Medium
Peter TB Brett

Bug Description

When using "File->Write image..." to export an image, the "image-color" rc function has no effect on whether the output is in color or not -- the result will always be a color image (using the display color map for raster images and the print color map for PDF images).

The "image-color" setting should obviously be observed. Also, all images should be exported with the same color map (but should it be the display or print color map)?

Tags: gschem
Revision history for this message
gpleda.org commit robot (gpleda-launchpad-robot) wrote :

A commit was made which affects this bug
git master commit ba3e5f3c73f3a6333eaac64977077a6308bbbbb6
http://git.geda-project.org/geda-gaf/commit/?id=ba3e5f3c73f3a6333eaac64977077a6308bbbbb6

commit ba3e5f3c73f3a6333eaac64977077a6308bbbbb6
Author: Peter TB Brett <email address hidden>
Commit: Peter TB Brett <email address hidden>

    Remove TOPLEVEL.override_color.

    It's not actually used by anything. To override the color used for
    rendering, the "override-color" property of EdaRenderer should be used
    when renderering. Exposes bug in gschem image export color handling.

    Affects-bug: lp-1086530

Peter TB Brett (peter-b)
Changed in geda:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 1.9.2
assignee: nobody → Peter TB Brett (peter-b)
Revision history for this message
Peter TB Brett (peter-b) wrote :

Okay, so this is the current behaviour relative to the image-color setting:

image-color Format Result
=========== ====== ======
disabled PNG Greyscale version of display colour map.
disabled PDF Monochrome print colour map.
enabled PNG Display colour map.
enabled PDF Colour print colour map.

What exactly is the expected behaviour here? Should image export always match the display colour map, or always match the print colour map? What should happen in the (image-color "disabled") case?

My thoughts:

1) With (image-color "enabled"), the display colour map should be used.
2) With (image-color "disabled"), the monochrome colour map should be used.

Changed in geda:
status: Triaged → In Progress
Changed in geda:
milestone: 1.9.2 → 1.9.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.