[Ohrrpgce] SVN: teeemcee/8344 If gifsicle is available, use it to compress .gifs after recording them

James Paige Bob at hamsterrepublic.com
Wed Jan 25 08:35:12 PST 2017


I like the idea of asking to download it the first time you record a gif

On Wed, Jan 25, 2017 at 6:33 AM, Ralph Versteegen <teeemcee at gmail.com>
wrote:

> gifsicle.exe is about 100KB zipped.  It would be nice if it could be
> auto-installed in the ~/.ohrrpgce folder, where both game.exe and
> custom.exe can find it, even distributed copies of game.exe. I guess the
> first time you record a gif it could ask to download it it ("Yes"/"No","No
> (don't ask again)").
>
> (I merely assume gifsicle is the best tool for the job; I only compared it
> against Image Magick's gif compression options, which it beats handily.)
>
> On 25 January 2017 at 18:31, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2017-01-24 21:31:38 -0800 (Tue, 24 Jan 2017)
>> 490
>> If gifsicle is available, use it to compress .gifs after recording them
>>
>> gifsicle is run asynchronously and invisibly in the background
>> using open_process(), and might take up to ~10s or more for big files.
>>
>> Although gif.h implements both delta-coding and LZW compression, there
>> are a lot of tricks that can be used to compress further, like only
>> outputting dirty rectangles.
>> Depending on the gif, gifsicle can reduce the size from 20-80%.
>> Recordings of Custom tend to compress much better.
>> ---
>> U   wip/allmodex.bas
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170125/a399ef5c/attachment.htm>


More information about the Ohrrpgce mailing list