Photo-mode png export not export for non-standard board outline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Confirmed
|
Medium
|
Unassigned |
Bug Description
With master version 4584cc3aaff6f88
the following command generate the blank png file. It may due to non-standard board outline.
./src/pcb -x png --outfile top.png --dpi 1000 --use-alpha --format PNG --photo-mode ./outline.pcb
The outline layout of the board
Layer(7 "outline" "outline")
(
Line[0.0000 700.00mil 300.00mil 700.00mil 10.00mil 20.00mil "clearline"]
Line[500.00mil 500.00mil 1600.00mil 500.00mil 10.00mil 20.00mil "clearline"]
Line[1600.00mil 500.00mil 1800.00mil 700.00mil 10.00mil 20.00mil "clearline"]
Line[1800.00mil 700.00mil 2100.00mil 700.00mil 10.00mil 20.00mil "clearline"]
Line[0.0000 100.00mil 300.00mil 100.00mil 10.00mil 20.00mil "clearline,
Line[300.00mil 100.00mil 400.00mil 0.0000 10.00mil 20.00mil "clearline"]
Line[0.0000 100.00mil 0.0000 700.00mil 10.00mil 20.00mil "clearline"]
Line[400.00mil 0.0000 1700.00mil 0.0000 10.00mil 20.00mil "clearline"]
Line[1700.00mil 0.0000 1800.00mil 100.00mil 10.00mil 20.00mil "clearline"]
Line[1800.00mil 100.00mil 2100.00mil 100.00mil 10.00mil 20.00mil "clearline"]
Line[2100.00mil 100.00mil 2100.00mil 700.00mil 10.00mil 20.00mil "clearline"]
Line[300.00mil 700.00mil 500.00mil 500.00mil 10.00mil 20.00mil "clearline"]
)
tags: | added: png-export |
Changed in pcb: | |
status: | New → Triaged |
Changed in pcb: | |
status: | Triaged → Confirmed |
importance: | Undecided → Medium |
milestone: | none → next-bug-release |
Changed in pcb: | |
milestone: | next-bug-release → future-feature-release |
Changed in pcb: | |
milestone: | pcb-4.2.0 → future-bug-fix-release |
The problem is that the flood fill that fills the "outside" messes up when the outline touches the edge of the workspace - it ends up flood filling the inside as well. If you grow the workspace a bit and move the board away from the edge, it should work OK.