Registry / utility / topthink-think-image

topthink-think-image

JSON →
library1.0.8phppackagistunverified

The ThinkPHP5 Image Package.

composer require topthink/think-image
INSTALL
IMPORT
SIG · TOPTHINK-THINK-IMA
T
topthink-think-image
utilityphpv1.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Image
use think\Image;

Open an image and create a thumbnail.

use think\Image; $image = Image::open('./path/to/image.jpg'); $image->thumb(200, 200)->save('./path/to/thumb.jpg');
Debug
Known issues
breakingDesigned for ThinkPHP5; may not work with ThinkPHP6+.
fix
Use the think-image package compatible with your ThinkPHP version.
affects: >=1.0.0
Upgrade
Version history
1.0.8latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
topthink-think-image — pip install topthink-think-image · libregistry