7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-27 00:26:13 +00:00
kicad/common/io
John Beard 636c6c4efb Eeschema/pcbnew: fix pasted image saving
The m_imageData buffer in the BITMAP_BASE is an
internal implementation - the public API to persist the
data to a stream appears to be SaveImageData - so use that,
which hides the implementation (and generates the image data
"live" when needed).

Remove the public access to the m_imageData buffer as it isn't
needed for public use, and also is misleading.

Also break out the formatting of the data into KICAD_FORMAT,
as it's currently replicated in eeschema/pcb/pagelayout
formatting code.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19772
2025-01-31 23:01:07 +08:00
..
altium Fix several data races triggered by parallel library loading 2025-01-25 11:44:15 -05:00
cadstar Common folder housekeeping part 2. 2025-01-14 15:25:05 -05:00
common Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eagle Fix Eagle schematic import issue. 2025-01-20 07:28:25 -05:00
easyeda Common folder housekeeping part 2. 2025-01-14 15:25:05 -05:00
easyedapro Common folder housekeeping part 2. 2025-01-14 15:25:05 -05:00
kicad Eeschema/pcbnew: fix pasted image saving 2025-01-31 23:01:07 +08:00
io_base.cpp Common folder housekeeping part 2. 2025-01-14 15:25:05 -05:00
io_utils.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
io_utils.h Common folder housekeeping part 2. 2025-01-14 15:25:05 -05:00