This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-12-15 10:12:21

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Problems importing animated GIF's

kevin_karplus wrote:

Others who have imported animated GIFs have seen each frame come in as a separate costume.  Under what circumstances do you get them superimposed instead?  Does it happen with all animated gifs?  If it only happens with animated gifs from a particular source, it may be that there is either a part of the standard that scratch doesn't understand correctly, or a part that the source for your animated gifs is not using correctly.

They always appear in separate costumes, but this happens:

costume1 = frame1
costume2 = frame1 + frame2
costume3 = frame1 + frame2 + frame3        (all "stamped" above the previous one)
etc.

It is only visible when importing an animated gif with a transparent background, however it might be happening with other animated gifs too - this is not visible because the background overlaps the whole previous frame(s).

An example og an animated gif with a transparent background (thus having this problem) is thisone (my avatar): http://scratch.mit.edu/static/icons/buddy/25062_med.png

Joren

Last edited by JSO (2008-08-05 08:19:14)


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#2 2007-12-16 10:37:21

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Problems importing animated GIF's

JSO: could you send an email to scratch-feedback [at] media.mit.edu with an attachment of the image that is failing?


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-12-17 16:05:01

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Problems importing animated GIF's

JSO:

Thanks for sending the attachment. It's a bug that will be fixed in the next Scratch release.

Meanwhile, a workaround is to break the animated GIF into a collection of separate images. I think there are programs that will do this for you automatically (QuickTime Pro, for example). If you save all the frames in a folder with names in sequence such as
"frame001.gif, frame002.gif, ... etc." then you can select all the files in that folder and then drag them onto the Scratch window. That will import all of the frames as costumes of the currently selected sprite.

Thanks a lot for helping us improve Scratch by reporting bugs!  smile


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#4 2008-01-26 16:48:05

dudeDad
Scratcher
Registered: 2008-01-25
Posts: 2

Re: Problems importing animated GIF's

Hi JSO:

What is the timeline for the animated GIF import fix?

I just installed scratch  (Jan 25 2008) and tried to import an animated gif and got the same behavior of each frame being sumperimposed on the last.

Ken

Offline

 

#5 2008-01-27 03:16:24

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Problems importing animated GIF's

I don't know when it will be fixed, I'm not one of the Scratch team. Adres sead it will be fixed in the next Scratch release (1.3) wich will come out when it's ready. There is no "deadline" published.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#6 2009-12-13 15:03:35

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Problems importing animated GIF's

Is it working in 1.4?

Offline

 

#7 2009-12-13 15:53:09

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Problems importing animated GIF's

ThePCKid wrote:

Is it working in 1.4?

Yeah.

Offline

 

#8 2009-12-13 16:21:44

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Problems importing animated GIF's

I tried to drag a video into Scratch, but it didn't work.

I thought Squeak would make the frames.

No walkback windows. No freezes. No slow downs.

Offline

 

#9 2009-12-17 06:43:33

DC1
Scratcher
Registered: 2009-12-16
Posts: 31

Re: Problems importing animated GIF's

Okay Jso

Offline

 

#10 2009-12-17 07:42:44

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Problems importing animated GIF's

It's working from version 1.3 so it still is in 1.4. I'm going to close this thread since to problem is fixed and it's causing confusion...

JSO


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

Board footer