Re: Export["...",...,"GIF"] results in nonreadable gif file
- To: mathgroup at smc.vnet.net
- Subject: [mg119338] Re: Export["...",...,"GIF"] results in nonreadable gif file
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 31 May 2011 07:46:38 -0400 (EDT)
I just tried the first of your exports in Mathematica 8.0.1 under Windows XP and seems to work OK, producing a file of size 63K that displays as an animated gif. On 5/30/2011 6:36 AM, neuromanthic wrote: > I've expirienced some problems with exporting images and graphics to > gif and animated gif's with Export[]. Here are inputs for exporting > lists of graphics as well as images > > In[138]:= Export["E:\\work\\projects\\anim2.gif", > Table[Graphics@ > Raster@Table[ > k - (i + j), {j, 0, 0.5, 0.05}, {i, 0., 0.5, 0.05}], {k, 0, 1, > 0.1}], "GIF"] > > Out[138]= "E:\\work\\projects\\anim2.gif" > > ========================== > > In[148]:= Export["E:\\work\\projects\\anim4.gif", > Table[Image@ > Table[k - (i + j), {j, 0, 0.5, 0.05}, {i, 0., 0.5, 0.05}], {k, 0, > 1, 0.1}], "GIF"] > > Out[148]= "E:\\work\\projects\\anim4.gif" > > The arguments of exports are evaluated and shown properly, but > resulting output files are corrupted and unreasoonably small (390 > bytes) > > On the other hand selecting an image in frontend and choosing "Save > Image As..." to save as gif works just fine. However, I need to make > animated gifs and this trick doesn't help. > > > Is it a bug in GIF converter or what? > Any advice would be appreciated. > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305