• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImageView and Animated Gifs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView and Animated Gifs?


  • Subject: Re: NSImageView and Animated Gifs?
  • From: Michael Briscoe <email@hidden>
  • Date: Mon, 31 May 2004 14:39:56 -0700

Hello again,

Never mind... I figured it out.

For those of you who are interested:

You must disable the autoscaling feature of the NSImageView for the animation playback to function. After you've done that, no extra programming required. It works like a charm!

I spent WAY too much time tracking this down. Hopefully Apple will update their documentation to reflect this, so no one else has to go through this frustration.

Best Regards,
Michael Briscoe
Skyrocket Software
http://www.skyrocketsoftware.com/

On May 31, 2004, at 12:14 PM, Michael Briscoe wrote:

Hello List!

Does anybody know how to get the new Animates functionality to work with NSImageView's? I'm trying to programatically set the NSImageView to an animated GIF created with ImageReady CS, but all I get is the first frame.

At first I thought it was the way I loaded the gif as an NSImage from the bundle, and that still may be the issue. But for a test I created a simple app with nothing but the NSImageView, and set the Animates and Editable flags. I can drag a gif file from the finder, and it shows the first frame... but still no animation.

I tested my gif in Safari and it works fine. So is this an ImageReady issue, or am I missing something? Or does this "feature" just not work?

Yes, I'm running the latest version of Panther - 10.3.4, and I'm using XCode 1.1.

Thanks in advance!


Best Regards,
Michael Briscoe
Skyrocket Software
http://www.skyrocketsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSImageView and Animated Gifs? (From: Michael Briscoe <email@hidden>)

  • Prev by Date: Re: Subclassing an object's creation method (NSBezierPath's +bezierPath)
  • Next by Date: How to include InternetConfig.h
  • Previous by thread: NSImageView and Animated Gifs?
  • Next by thread: Problem with drawer
  • Index(es):
    • Date
    • Thread