Hey all, I just experienced a moment of slight panic - I had a file full of icons (35 to be exact) which I wanted to batch export to separate PNG files. I use a layer below my icons, with transparent rectangles. They are all named appropriately. This is something I do a lot, but on this specific file, batch exporting always resulted in a single file. After much experimentation, I finally decided to take a look at the XML code, and found that every rectangle had this parameter: inkscape:export-filename="C:\2D_Art\icons\AAA.png" (AAA.png is also the name of one of the rectangles/icons in the file)
The parameter was identical in all rectangles, and this somehow caused all the rectangles to be exported to the same filename and overwrite each other.
A quick search and replace removed it and I was able to export as usual, so problem solved. Still, I'm curious to know what caused it. Where did this parameter come from? Is this something left over from an old version of Inkscape? It was a rather old file, untouched for almost a year.
Michael
On Thu, 2007-06-07 at 17:16 +0300, Michael Grosberg wrote:
The parameter was identical in all rectangles, and this somehow caused all the rectangles to be exported to the same filename and overwrite each other.
A quick search and replace removed it and I was able to export as usual, so problem solved. Still, I'm curious to know what caused it. Where did this parameter come from? Is this something left over from an old version of Inkscape? It was a rather old file, untouched for almost a year.
This is placed on objects when the "Export Bitmap" dialog is used so that the default for the filename is saved. So, I would guess that you exported them to test at some point to the same file name?
--Ted
On 6/9/07, Ted Gould <ted@...11...> wrote:
Still, I'm curious to know what caused it. Where did this parameter come from? Is this something left over from an old version of Inkscape? It was a rather old file, untouched for almost a year.
This is placed on objects when the "Export Bitmap" dialog is used so that the default for the filename is saved. So, I would guess that you exported them to test at some point to the same file name?
Much more likely, you created and exported to AAA.png one rect, then duplicated it to create other rects - but duplicating also copied the filename which was saved into the rect obejct.
participants (3)
-
bulia byak
-
Michael Grosberg
-
Ted Gould