[scribus] Locating Images on disk that are included in a Scribus document
Owen Cook
rcook at pcug.org.au
Wed Jun 9 08:23:48 CEST 2010
On Tue, Jun 08, 2010 at 10:28:57PM -0700, Murray Strome wrote:
> I tend to use a lot of images in documents I prepare using Scribus, and
> I tend to forget exactly which ones correspond to a particular image in
> the document. I normally have them in an Images folder within the
> folder for the particular project, but I usually have several
> subdirectories. Also, if I have hundreds of photos, I cannot remember
> which one corresponds to any particular one in the Images folder.
>
> Is
> there a simple way to "locate original image on disk" for any image on
> a page? If not, this would be a very useful addition (at least for me).
>
Hi,
If you hide the image, ie, Right Click->Preview settings->Un tick "Image Visible" you will be left with some details of the image.
If you want the full path, you need to hone your regex skills and extract out all the PFILE stuff, here is a little program that may work for you
#######################################################################
#!/usr/bin/perl
open (my $SLA, "<", "Document-1.sla") or die "Can't open file for reading $!\n";
while (<$SLA>){
my $line = $_;
if ($line =~ /PFILE="(.*)" PFILE2.*/){print "$1\n"}
}
#######################################################################
--
Owen
More information about the scribus
mailing list