QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.16.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: QCAD Bugtracker
Opened by jose amaro - 29.01.2017
Last edited by Andrew - 16.02.2017

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

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.

Closed by  Andrew
16.02.2017 14:22
Reason for closing:  Not a bug
Andrew commented on 30.01.2017 08:07

Please attach your DXF or DWG file, thanks.

jose amaro commented on 30.01.2017 10:59

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

jose amaro commented on 16.02.2017 12:14

I already posted what was requested...

Andrew commented on 16.02.2017 13:11

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.

jose amaro commented on 16.02.2017 13:28

I am deleting the image through QCad.

Andrew commented on 16.02.2017 13:47

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..

jose amaro commented on 16.02.2017 14:18

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 commented on 16.02.2017 14:21

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.


Available keyboard shortcuts


Task Details

Task Editing