MakeJPGThumb PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: phplabs.com
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:Commercial License (
  • Company: PHP Labs (View more)

MakeJPGThumb script description:




Publisher review:
MakeJPGThumb helps you to manage JPEG images (resize, make thumbnails) and more. MakeJPGThumb is distributed as a pair of functions. One will work with the GD Library version 1.6 , the other will work with the GD Library version 2.0 (compatible) and is more accurate.

Both versions require that you have at least GD 1.6 and libjpeg 1.6b installed on your server and accessible to PHP.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,
- 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.

For example, let's say you have a JPG named 'test.jpg' and you want to resize it so that its width is 100 pixels, its height is proportionate, and the thumbnail is output to 'testthumb.jpg'. You simply call the function as such,MakeJPGThumb('test.jpg', 100, 0, 'testthumb.jpg', 100);This will automatically resize your JPG so that it's 100 pixels wide, a proportionate number of pixels tall, at 100 quality; and output the new file to testthumb.jpg.You must supply either the target height, the target width, or both. Pass 0 as a parameter for either, and the aspect ratio will be automatically calculated based upon the other dimension.Again, 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. If you are not a PHP programmer, you should not join our site just to get this script.

Features:
- Resize JPG Images
- Make JPG Thumbnails
- Specify the source file and target output file
- Specify target height, target width, or both
- Automatic aspect ratio calculation if you specify only one of height or width
- Simple function takes 5 arguments
>Simple functioincorporate into your own PHP scripts
- e into your own PHbraries for maximum compatibility
MakeJPGThumb is a PHP script for Image Galleries scripts design by PHP Labs. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5