2017 © Pedro Peláez
 

library image-checker

this check image format

image

hoainam/image-checker

this check image format

  • Wednesday, June 13, 2018
  • by dinhhoainam23894
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Usage

  • Khởi tạo đối tượng với đầu vào là path local đến file hoặc 1 đường link web, cũng có thể là source/resource.
$image = new \Lego\ImageChecker\ImageChecker($path);
  • Phát hiện format của file ảnh
$image->detectFormat();

Nếu check thành công sẽ trả ra định dạng của file nếu không sẽ in ra dòng thông báo, (*1)

  • Kiểm tra file ảnh riêng lẻ
$image->isGIF();
$image->isJPG();
$image->isPNG();

The Versions

13/06 2018

dev-master

9999999-dev

this check image format

  Sources   Download

MIT

The Development Requires