Menu

#7 Question on DGifSlurp API

v1.0_(example)
closed
nobody
DGifSlurp (1)
1
2024-02-19
2019-06-30
Upanita
No

Hi,
I am using the giflib library to read GIF File. I recently encountered a file for which DGifSlurp returned NULL. But the raster bits of the savedImage had valid data. Should I rely on the status of DGifSlurp ?

On a similar note, Also, for a multi-page GIF file, if few of the images are corrupted, how wil the function DGifSlurp behave? What is the behavior of this function if all the images are corrupt?

Thanks,
Upanita

Discussion

  • Eric S. Raymond

    Eric S. Raymond - 2024-02-19

    Thatr depends omnn tghe last error condition reported in the Error membor of the GifType structure. Usually that will tell you what went wrong.

    Sorry about the long-delated reply. I don'yt check support requesrs often (most of my projects are on GitLab) and I was sidelined with serious medical issues for abour two years.

     
  • Eric S. Raymond

    Eric S. Raymond - 2024-02-19
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.