Skip to content

PHP Class for Picture Resizing incl. Transparency Support for 24bit and 32bit PNG

Notifications You must be signed in to change notification settings

cfreak/picture_resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

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

No packages published

Languages