This is one of the functions of getimagesize. They probably should have called it “getimageinfo”, but that’s PHP for you.
More Related Contents:
- Efficient JPEG Image Resizing in PHP
- How to provide dynamic HTML in PHP?
- inserting image in database using php [closed]
- Output an Image in PHP
- Creating a thumbnail from an uploaded image
- Multiple Image Upload PHP form with one input
- Use PHP to convert PNG to JPG with compression?
- PHP: How to check if image file exists?
- Calculating image size ratio for resizing
- best way to determine if a URL is an image in PHP
- How to add text to an image with PHP GD library
- RGB to HSV in PHP
- How to merge transparent PNG with image using PHP?
- Get image color
- php GD create a transparent png image
- Php : Convert a blob into an image file
- Convert JPG/GIF image to PNG in PHP?
- PHP : binary image data, checking the image type
- PHP crop image to fix width and height without losing dimension ratio
- python format datetime with “st”, “nd”, “rd”, “th” (english ordinal suffix) like PHP’s “S”
- Saving images in database mysql
- PHP to store images in MySQL or not?
- PHP upload image
- TCPDF error :Unable to get the size of the image
- the dreaded “Warning: imagecreatefromjpeg() : ‘/tmp/filename’ is not a valid JPEG file in /phpfile.php on line xxx”
- How can I read XMP data from a JPG with PHP?
- Convert number into xx.xx million format? [closed]
- Convert Time String to Decimal Hours PHP [closed]
- PHP Validating the File Upload [duplicate]
- Merge two images in php