Laurin d'Volts wrote:
> Imagine I take a bunch of JPGs and turn them into a PDF file.
> Let's say the PDF file is created and called "1.pdf"
> I open it in a program, such as evince, and the recognized filename at
> the top is "1.pdf"
> 
> Well, then let's say I move that file to another folder.
> Now, I rename that file into "lab.pdf"
> 
> Now, if I open the file again inside of evince, evince appears to
> recognize it as "1.pdf" still. I don't know why this is.
> 
> It gets kind of annoying when I'm messing around with a lot of important
> documents at once. I like to see what the header is.
> 
> Now, I think this is primarily an imagemagick issues, because
> imagemagick has to give the PDF its name after converting all of those
> jpgs into a pdf.
> 
> Anyone else encounter this bug?
> Any ideas, solutions, and/or comments?




I don't think this is a bug in imagemagick at all. It's a feature of evince.

PDF documents contain a title attribute, which is inside the metadata of 
the file. This is set when the pdf is originally generated.

Renaming the file (eg with mv) doesn't change the internal metadata.
Evince then shows the title-attribute, not the filename in the window title.

3 possible workarounds:
   - use xpdf  (which always shows the filename)
   - rename your photo to "lab.jpg", before using convert.
   - use something like pdfedit to change the metadata

HTH,

Richard

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to