← All bug reports

FS#1535File > Save: image references of deleted images remain present

Type
Bug
Status
Closed
Resolution
Not a bug
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.16.4
Operating system
All
Reported
2017-01-29 by joamaro
Closed
2017-02-16 by andrew
Votes
1

by inserting and deleting many figures in the drawing the references to these figures are not excluded from the dxf / dwg file structure, if you exclude a figure and include it again, the reference is duplicated, etc .. this causes an increase of the size of the files dwg / dxf.

Comments (8)

andrew 2017-01-30

Please attach your DXF or DWG file, thanks.

joamaro 2017-01-30

Follow dxf files and print screen image in Autocad where the deleted references still appear contained in the file generated by QCad, I could also see such references opening the DXF file in text mode, I hope I have helped.PS: I use QCAD 3.15.5 and tested in 3.16.4 on both Linux Mint and Windows 10

joamaro 2017-02-16

I already posted what was requested...

andrew 2017-02-16

Just to be clear: are you deleting the image entities in QCAD or just the image files on disk? In the later case, the image entities in the DXF file are not affected and will indeed reference non-existing files.

joamaro 2017-02-16

I am deleting the image through QCad.

andrew 2017-02-16

I think what Autocad is reporting is simply that the image file is missing.

Let's take "image_1237" for example:
I can see that there is a dictionary entrance for this image.
The entry is backed by an IMAGEDEF which refers to file "/home/andrea/Downloads/images.jpeg"
The IMAGEDEF is used by an IMAGE entity in block "A1_QCad_GrayScale"

As long as there is an image entity in QCAD that refers to that file, the entity, the image definition and the directory entry remain in the file, even if the underlying image file (images.jpeg) has been deleted. I hope that makes sense..

joamaro 2017-02-16

Ok! But I could also see such references opening the DXF file in text mode.
This does not disturb the work but if it is possible to correct OK, try opening a dxf file in text mode after deleting an image and you will see the references still contained in the dxf lines.
Thank you.

andrew 2017-02-16

Again: the image entity is still there (i.e. has not been deleted) in block "A1_QCad_GrayScale". Deleting the image entity in this block will also delete the IMAGEDEF, etc.