Re: How to create an animated gif?
Re: How to create an animated gif?
- Subject: Re: How to create an animated gif?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 22 Jun 2017 14:06:53 +0700
> On 21 Jun 2017, at 23:56, Alastair Houghton <email@hidden>
> wrote:
>
> On 21 Jun 2017, at 16:09, Jens Alfke <email@hidden> wrote:
>>
>> On Jun 20, 2017, at 11:17 PM, Gerriet M. Denkmann <email@hidden>
>> wrote:
>>>
>>> Assume that I have two NSImages, both with the same size, how can I create
>>> an animated gif which alternates between these two images?
>>
>> You might have to use a 3rd party image library to do that; I’ve never heard
>> of animated-GIF (GIF89) encoding being in Mac frameworks.
>
> Can’t you use ImageIO to do that? See
>
> <https://developer.apple.com/library/content/documentation/GraphicsImaging/Conceptual/ImageIOGuide/ikpg_dest/ikpg_dest.html>
>
> ImageIO definitely supports GIF, and it also supports multi-image file
> formats; there’s an example of creating an APNG, but I imagine it’ll work for
> animated GIF just as well.
I found:
<https://stackoverflow.com/questions/15584931/creating-an-animated-gif-in-cocoa-defining-frame-type>,
which is similar to the code example in you cited.
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden