GIF image format is not supported



and there is the error

ERROR: unable to write file “something.gif” - GIF image format is not supported.

How do I solve it?

Hi, please try saving to a similar but supported format, such as PNG.

Gif should work:

$ root
  | Welcome to ROOT 6.11/01            |
  |                                    (c) 1995-2017, The ROOT Team |
  | Built for macosx64                                              |
  | From heads/master@v6-09-02-1615-g88eaa53, Jul 07 2017, 10:57:18 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'      |

root [0] hpx->Draw()
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1
root [1] c1->SaveAs("c1.gif");
Info in <TCanvas::Print>: GIF file c1.gif has been created

On what kind of machine are you running ? with which ROOT version ?

I am using ubuntu 16.04 and the root version is 5.34/30. Actually my problem is exactly the same as this one.

If you are using the ROOT version distributed with Ubuntu (5.34), please make sure to install all extensions with apt-get install root-system. However, I really recommend that you move to ROOT 6 if you can, by downloading the package from

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.