-
Notifications
You must be signed in to change notification settings - Fork 0
cfreak/picture_resize
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PHP Class for Picture Resizing incl. Transparency Support for 24bit and 32bit PNG For Use simple: <?php $thumb=new picture_resize("./testpciture.jpg"); // generate image_file, set filename to resize/resample $thumb->size_width(100); // set width for thumbnail, or $thumb->size_height(300); // set height for thumbnail, or $thumb->size_auto(200); // set the biggest width or height for thumbnail $thumb->jpeg_quality(75); // [OPTIONAL] set quality for jpeg only (0 - 100) (worst - best), default = 75 $thumb->show(); // show your thumbnail $thumb->save("./huhu.jpg"); // save your thumbnail to file ?>
About
PHP Class for Picture Resizing incl. Transparency Support for 24bit and 32bit PNG
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published