pcb bug can't export photos with dpi >= 159
This commit is contained in:
parent
6e08c25f99
commit
0433c60a71
|
@ -181,12 +181,14 @@ end
|
||||||
|
|
||||||
desc "generate photo realistic picture from layout (front side)"
|
desc "generate photo realistic picture from layout (front side)"
|
||||||
file "#{target}_layout-top.png" => vpcb do |t|
|
file "#{target}_layout-top.png" => vpcb do |t|
|
||||||
sh "pcb -x png --dpi 600 --format PNG --photo-mode --outfile #{target}_layout-top.png #{t.prerequisites.join(' ')}"
|
# sh "pcb -x png --dpi 600 --format PNG --photo-mode --outfile #{target}_layout-top.png #{t.prerequisites.join(' ')}"
|
||||||
|
sh "pcb -x png --format PNG --photo-mode --outfile #{target}_layout-top.png #{t.prerequisites.join(' ')}"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "generate photo realistic picture from layout (bottom side)"
|
desc "generate photo realistic picture from layout (bottom side)"
|
||||||
file "#{target}_layout-bottom.png" => vpcb do |t|
|
file "#{target}_layout-bottom.png" => vpcb do |t|
|
||||||
sh "pcb -x png --dpi 600 --format PNG --photo-mode --photo-flip-x --outfile #{target}_layout-bottom.png #{t.prerequisites.join(' ')}"
|
# sh "pcb -x png --dpi 600 --format PNG --photo-mode --photo-flip-x --outfile #{target}_layout-bottom.png #{t.prerequisites.join(' ')}"
|
||||||
|
sh "pcb -x png --format PNG --photo-mode --photo-flip-x --outfile #{target}_layout-bottom.png #{t.prerequisites.join(' ')}"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "export gerber (and drill) files from layout"
|
desc "export gerber (and drill) files from layout"
|
||||||
|
|
Loading…
Reference in New Issue