Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Image Configure Options
Name Default Changeable Changelog
gd.jpeg_ignore_warning "1" INI_ALL  
For further details and definitions of the INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

gd.jpeg_ignore_warning bool

Ignore warnings (but not errors) created by libjpeg(-turbo).

Changelog for gd.jpeg_ignore_warning
Version Description
7.1.0 The default of gd.jpeg_ignore_warning has been changed from 0 to 1.

See also the exif configuration directives.

Warning

Image functions are very memory intensive. Be sure to set memory_limit high enough, if you are using the bundled version of the GD library.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top