Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2797

Export["...",...,"GIF"] results in nonreadable gif file

From neuromanthic <kolbasa.sapiens@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Export["...",...,"GIF"] results in nonreadable gif file
Date 2011-05-30 10:36 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <irvrum$8kr$1@smc.vnet.net> (permalink)

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Export["...",...,"GIF"] results in nonreadable gif file neuromanthic <kolbasa.sapiens@gmail.com> - 2011-05-30 10:36 +0000
  Re: Export["...",...,"GIF"] results in nonreadable gif file "Nasser M. Abbasi" <nma@12000.org> - 2011-05-31 11:47 +0000
    Re: Export["...",...,"GIF"] results in nonreadable gif file Roman Bortnikov <kolbasa.sapiens@gmail.com> - 2011-06-01 08:31 +0000
    Re: Export["...",...,"GIF"] results in nonreadable gif file Roman Bortnikov <kolbasa.sapiens@gmail.com> - 2011-06-01 08:34 +0000

csiph-web