[scribus] Saving pictures from clipboard
samps okholm
sampsokholm at gmail.com
Tue Sep 10 10:34:37 UTC 2013
I'm sitting on the fence here....
I'm with a.l.e., getting the graphics tethered to the .sla file is great.
Embedding binary content in anything opens up a whole new can of worms
tho.....
I can imagine all sorts of malice... Scripts that get embedded and do local
damage, pictures that are infection vectors for malware, simple buffer
overruns, race conditions where encoded graphics need decoding for some or
other purpose... but maybe it's just me... maybe I am as paranoid as my
doctor says....
Samps
On Tue, Sep 10, 2013 at 7:44 PM, a.l.e <ale.comp_06 at xox.ch> wrote:
> hi
>
> On Tue, 10 Sep 2013 11:42:49 +0200
>> Christian Pernot <christian.p at maps-system.com> wrote:
>>
>> Hello,
>>>
>>> I've just made a test, pasting an image in scribus and editing the
>>> corresponding .sla
>>> Here's what I found in it :
>>>
>>> ... isInlineImage="1" inlineImageExt="png"
>>> ImageData="**AAgAYnicdLsFVBzL2rYdzwQIEjS4BX**d3gru7B3d3D+**
>>> 4Q3CFAcAvuEFwGd3cJDMPgLl9n73X2**2Wf9/9trGKnu6a6ueup+**
>>> rrtqCJOXFXsPhw337Nmz9xLiworPni**HMPnv2igP0Aig5TiPXA15eOgpKK...
>>>
>>> So Rolf seems to be right :)
>>>
>>
>>
>>>>> But where are they stored then? I pushed the .sla to Dropbox and
>>>>> copied it into another folder on my office computer, and the
>>>>> pictures are still there.
>>>>>
>>>>> On my laptop they existed - in that form - only as unstored
>>>>> working copies in the Gimp before, were copied into the clipboard
>>>>> and then inserted into the Scribus document.
>>>>>
>>>>
>>>>
>>>> Would it be possible that you already had the images in the same
>>>> relative directory on your office computer?
>>>>
>>>> Otherwise black magic is at work :-)
>>>>
>>>
>>
>> OK, I apologise, you are correct.
>>
>> Drag from the file manager and drop into Scribus, simply provides a
>> relative link to the image in the sla file
>>
>> But copying from gimp into the clipboard and then pasting into Scribus
>> from the clipboard does indeed provide that isInlineImage="1"
>> inlineImageExt="png" ImageData .. entry
>>
>> Makes for a huge sla file, but nonetheless works.
>>
>> Live and learn
>>
>>
>>
> this is an official feature in 1.5.0svn (that is, you have an entry in the
> context menu that makes an image included in the .sla)
>
> imo, a "bad feature"*, but nonetheless a feature!
>
> ciao
> a.l.e
>
>
> * trying to avoid the usual shitstorm: getting the image to follow the
> .sla is a good idea, but including the image in the xml is imo a bad
> implementation of that idea.
>
>
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/**mailman/listinfo/scribus<http://lists.scribus.net/mailman/listinfo/scribus>
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20130910/6d106d9a/attachment.html>
More information about the scribus
mailing list