Categories

Updated: 05/16/2004

MakeJPGThumb

Have you ever wanted to make thumbnails of JPG images, or resize JPGs using PHP? Not sure how, and don''t want to grok a whole image library to figure it out? MakeJPGThumb does all the work for you! Using MakeJPGThumb couldn''t be easier. It''s provided as a function which takes care of all your JPG resizing dirty work. You supply the function with 5 arguments: The source JPG file, the target width (or auto-ratio), the target height (or auto-ratio), the output JPG file, and the JPG quality percentage to use. The innovative thing about MakeJPGThumb is its ability to automatically calculate the aspect ratio if you provide only one dimension. We stress that this PHP code is distributed as a function, meant to be used by PHP programmers who want to be able to resize JPGs within their own scripts.
©2003-2019 jCay.com