JamesHeinrich / getID3

http://www.getid3.org/
Other
1.15k stars 245 forks source link

Replace IMG_JPG with IMAGETYPE_JPEG because it does not require GD #294

Closed StudioMaX closed 3 years ago

StudioMaX commented 3 years ago

According to the documentation of getimagesize:

Index 2 is one of the IMAGETYPE_XXX constants indicating the type of the image.

IMAGETYPE_JPEG comes from the standard library, while IMG_JPG requires the gd extension to be installed.

Example: https://3v4l.org/4PpTD

Closes #293