gd_webp.c (libgd-2.3.1) | : | gd_webp.c (libgd-2.3.2) | ||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
image). <gdImageCreateFromWebp> does not close the file. | image). <gdImageCreateFromWebp> does not close the file. | |||
You can inspect the sx and sy members of the image to determine | You can inspect the sx and sy members of the image to determine | |||
its size. The image must eventually be destroyed using | its size. The image must eventually be destroyed using | |||
<gdImageDestroy>. | <gdImageDestroy>. | |||
*The returned image is always a truecolor image.* | *The returned image is always a truecolor image.* | |||
Variants: | Variants: | |||
<gdImageCreateFromJpegPtr> creates an image from WebP data | <gdImageCreateFromWebpPtr> creates an image from WebP data | |||
already in memory. | already in memory. | |||
<gdImageCreateFromJpegCtx> reads its data via the function | <gdImageCreateFromWebpCtx> reads its data via the function | |||
pointers in a <gdIOCtx> structure. | pointers in a <gdIOCtx> structure. | |||
Parameters: | Parameters: | |||
infile - The input FILE pointer. | infile - The input FILE pointer. | |||
Returns: | Returns: | |||
A pointer to the new *truecolor* image. This will need to be | A pointer to the new *truecolor* image. This will need to be | |||
destroyed with <gdImageDestroy> once it is no longer needed. | destroyed with <gdImageDestroy> once it is no longer needed. | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |