Re: [Tracker] Updated To do for next version



On 10/3/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Edward Duffy wrote:
> On 10/3/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
>> Edward Duffy wrote:
>> > patch attached.
>> >
>>
>> great but what about comments in gif files?
>>
>> Also whats the problem  with animated gifs? Do they output multiple
>> heights and widths?
> yeah...eg.
> 150x10773x9571x9671x10073x10073x9571x9671x10073x10073x9571x9...
>>
>> cant we use format "W%w\\nH%h\\nC%c"
>>
>> so you can g_strsplit on \n and tell the type by looking at the first
>> char (or whatever else works)
>>
> yeah..that'll probably work... gimme a sec.

oh I dont know if the comment can contain a newline char so best to make
sure you handle that too (unless you know otherwise)

so demanding... ;)

Ok, here it is.  Wasn't sure if tracker handled newlines in strings,
so I called g_strescape on it.  Go ahead and remove it if it's not
nessasary.  But it'll look like this:

Image.Comments=Created with The GIMP\n\nBut with a newline;
Image.Width=640;
Image.Height=480;



--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/

Attachment: tracker-extract-imagemagick.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]