Is Bitmap2Component inaccurate (?)
Bug #747631 reported by
Stephen Bernhoeft
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Unassigned |
Bug Description
I think that Bitmap2Component is inaccurate. For example, input file is 350dpi, 972 Pixels heigh.
.......
972 Pixels heigh, 350 dpi --> 2.777142857 inches
.......
KiCad --> 82.54 mm
.......
Thus, Bitmap2Component has stretched the original image by ~17%.
Another test, a 1" square, 350dpi, 350px * 350px
This comes out at 1.165" square as measured in KiCad.
Changed in kicad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm this bug, (still) happens with: wchar_t, compiler with C++ ABI 1002,GCC 4.7.3,wx containers, compatible with 2.8)
USE_WX_ GRAPHICS_ CONTEXT= OFF
USE_WX_ OVERLAY= OFF
KICAD_ SCRIPTING= OFF
KICAD_ SCRIPTING_ MODULES= OFF
KICAD_ SCRIPTING_ WXPYTHON= OFF
USE_FP_ LIB_TABLE= HARD_CODED_ ON
BUILD_ GITHUB_ PLUGIN= OFF
Application: Pcbnew
Version: (2014-02-22 BZR 4713)-product Release build
wxWidgets: Version 3.0.0 (debug,
Platform: Linux 3.9.2-gentoo x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0