<img border="0" src="../phpThumb.php?=&hash=3d826b13e36fac48c692b2f4bd7e9b96" alt="">phpThumb version
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&hash=160ce3923ddd975f354d68ca32dfe656" alt="">width=300px
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&q=10&sia=custom-filename&hash=e460304b15144f13629c18db4cc0de20" alt="">width=300px, JPEGquality=10%, SaveImageAs=custom-filename
<img border="0" src="../phpThumb.php?src=images%2Fwatermark.png&w=400&aoe=1&bg=ffffff&hash=a1ca76f6827f06fc55a85a3a5c7389a0" alt="">width=400px, AllowOutputEnlargement enabled
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=250&sx=600&sy=5&sw=100&sh=100&aoe=1&hash=77cc2da59e8fef806d0f0744158e7982" alt="">section from (600x5 - 700x105) cropped and enlarged by 250%, AllowOutputEnlargement enabled
<img border="0" src="../phpThumb.php?src=http%253A%252F%252Fwww.silisoftware.com%252Fimages%252FSiliSoft.gif&w=100&hash=bb07b21ff1242334145f931e6e18fe1a" alt="">HTTP source image
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&fltr[]=wmi%7Cimages%2Fwatermark.png%7CBL&hash=75934456a838def442896ff1c7c09f36" alt="">width=300px, watermark (bottom-left, 75% opacity)
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&fltr[]=wmi%7Cimages%2Fwatermark.png%7C%2A%7C25&hash=985c708a1957f99497934085c99cb464" alt="">width=300px, watermark (tiled, 25% opacity)
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&fltr[]=wmi%7Cimages%2Fwatermark.png%7C75x50%7C80%7C75%7C75%7C45&hash=89c71859eb3e6c9a0c45801ec5d4562e" alt="">width=300px, watermark (absolute position (75x50), rotation (45), scaling (75x75)))
<img border="0" src="../phpThumb.php?src=images%2Fwatermark.png&bg=00FFFF&f=png&hash=31ccd19ffb01d27bd44cde4bb8b3e447" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fwatermark.png&bg=00FFFF&f=gif&hash=d3653d494c03d67ba449cac829d4be13" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fwatermark.png&bg=00FFFF&f=jpeg&hash=a40ea80bf7aa11b9890e49b5b5d27296" alt="">source image (GIF) transpancy with transparent output (PNG, GIF) vs. specified background color (JPEG)
<img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&hash=f49dffc4ceefbb73bbddfe7311cb12c9" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&w=25&f=gif&hash=587fa37f56daf46c5f310cf9bde4e6ac" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&w=25&f=png&hash=c1a8d380715c503a5660eae1a76d9c7b" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&w=25&f=ico&hash=98179498af8035e38e3725aa2393c115" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&w=25&f=bmp&hash=cd2fdb0d218ba30b6ed7f3047116d5d4" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&w=25&f=jpeg&hash=347a4a6d12135dd0edc1cc01faafa447" alt="">resize animated GIF. Notice how output format affects the result: GIF is animated and transparent; PNG and ICO are tranparent but not animated (first frame is rendered as a still image); JPEG and BMP are neither transparent nor animated. Any filters will disable animated resizing (may be fixed in a future version).
<img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&hash=f49dffc4ceefbb73bbddfe7311cb12c9" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&sfn=0&f=png&hash=f08caddbfebb979512ebb1f549ad9e8b" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fanimaple.gif&sfn=2&f=png&hash=13b138b96fa24931f2f966423c11290e" alt="">Specifying still-image source frame in multi-frame source images
<img border="0" src="../phpThumb.php?src=images%2Falpha.png&f=png&hash=cc0d96a0ba250a1b5201fb022d2c4448" alt=""> <img border="0" src="../phpThumb.php?src=images%2Falpha.png&f=ico&hash=11852f95c6ab038d0442f04b9b1e0056" alt=""> <img border="0" src="../phpThumb.php?src=images%2Falpha.png&f=gif&hash=e4f43c370650aa1f306cc165ff12b972" alt=""> <img border="0" src="../phpThumb.php?src=images%2Falpha.png&f=jpeg&hash=8a08dbd5f04073754783a62ed16e8389" alt="">PNG alpha transparency test, using test image from the PNG transparency test page
<img border="0" src="../phpThumb.php?src=images%2Fdisk.jpg&w=300&fltr[]=stc%7CFFFFFF%7C5%7C10&f=png&hash=cbafe742ef2275154e3299100ec6c371" alt="">Create transparency from source image color
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=usm%7C80%7C0.5%7C3&hash=86bfeb162c9d8856c7a7f1b0e2a70c4f" alt="">normal vs. unsharp masking at default settings
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=blur%7C1&hash=9415ae358fe9bebde234d2bebf83bbdb" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=blur%7C5&hash=df758cd2204f4c89278d7ae3b0b14940" alt="">normal vs. blur at default (1) and heavy (5)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=gblr&hash=6db4cb1128b45a93f823b7a49ebba4a2" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=sblr&hash=97529006ed6d7c3ec71953d645249112" alt="">normal vs. gaussian blur vs. selective blur
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=100&h=100&far=L&bg=0000FF&f=png&fltr[]=bord%7C1&hash=9ecd43512ed81418dbf61302bceae905" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=100&h=100&far=T&bg=FF0000&f=png&fltr[]=bord%7C1&hash=eb0bf0c9c4cda2c8f861e4cdc5502564" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=100&h=100&far=C&bg=0000FF&f=png&fltr[]=bord%7C1&hash=c549650f19fd233f764dbe1eec51e7fb" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=100&h=100&far=B&bg=FF0000&f=png&fltr[]=bord%7C1&hash=9836a94c36e6f3cb24dcfd5242c016e4" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=100&h=100&far=R&bg=0000FF&f=png&fltr[]=bord%7C1&hash=34564b474cbd5dd3d7e9531363f57005" alt="">Forced Aspect Ratio, colored background, PNG output
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=150&ar=L&hash=cedd4db77a1a71a0b0ce33b597c438fe" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=150&ar=L&hash=7b204e70569c8d2c24be08fc6c9f461f" alt="">auto-rotate counter-clockwise to landscape from portrait & lanscape
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&hp=100&wl=200&hash=c9e1fd87930a3554088c970cbe99be5c" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&hp=100&wl=200&hash=a6cde13d035d3365e23a0e730756c6e4" alt="">auto-selection of W and H based on source image orientation
<img border="0" src="../phpThumb.php?src=images%2Fmonkey.jpg&w=150&h=150&hash=cd52f9494b6560b7bcb8a9f9b07943e3" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fmonkey.jpg&w=150&h=150&ar=x&hash=bd2351a79822569de0834cd3762ea170" alt="">original image vs. auto-rotated based on EXIF data
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&ra=30&bg=0000FF&hash=ee347558bc2a121cf40d60d32a942106" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&ra=30&f=png&hash=306039b35444d65afb842639f6b8d3b6" alt=""> <img border="0" src="../phpThumb.php?src=images%2Falpha.png&ra=30&f=png&hash=9851c2318fa632c72731768b194ddfa1" alt=""> <img border="0" src="../phpThumb.php?src=images%2Falpha.png&ra=30&f=gif&hash=d969579efdb8a39a8aed0dc455367c77" alt="">Rotated 30° (counter-clockwise), width=300px, blue background vs. transparent background vs. rotated image with pre-existing alpha
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&h=300&far=1&bg=CCCCCC&hash=dcf6b2b2202e22245ea834fa70904c26" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&h=300&iar=1&hash=63d52ae41d5ae1d67294319149da1e19" alt="">Normal resize behavior (left) vs. Forced non-proportional resize (right)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=100&h=50&zc=1&hash=9ecb6a09301031e61c6c7935ba7bdd7d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=100&zc=1&hash=f324c2484506807918e42165dab8361f" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&h=50&zc=1&hash=ccf7113296c11bcaea0e3c32e1bc3521" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=100&h=50&zc=1&hash=4231f2727d93b7f30eb8571c3baca99d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=100&zc=1&hash=8c2b5c7f9b0493641f4a107833fe3ccd" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&h=50&zc=1&hash=e0196ad024a1f8b72f855ca001e3dc4e" alt="">Zoom-Crop
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=crop%7C50&hash=3a342fc72e6cece7d3ae952c92741849" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=crop%7C0%7C0%7C0%7C0.25&hash=8fb6c2b32f32795d66936f4518a72767" alt="">crop filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=bord%7C2%7C20%7C10%7C009900&f=png&hash=efeefd095fc32239580a530ee75925be" alt="">2px border, curved border corners (20px horizontal radius, 10px vertical radius)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=ric%7C50%7C20&f=png&hash=1a720390a67218351b18f0fbbd77e865" alt="">curved border corners (20px vertical radius, 50px horizontal radius)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=sat%7C75&hash=bd3b551e1f20c1c263df0dda76d40148" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=sat%7C-100&hash=2ee2e3384a4ea711f36e329b94eb479e" alt="">saturation -75% vs. normal vs. -100%
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=ds%7C75&hash=48eee86d5f0543c1f7c712672d1f54dd" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=ds%7C-100&hash=419c616a6a88bfe454abda1c2bd0ebc5" alt="">desaturated 75% vs. normal vs. -100%
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=clr%7C25%7C00FF00&hash=1b2d84565b602888bb425f08947790b2" alt="">colorized 25% to green (#00FF00)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=gray&hash=e13f218a882ea20ad4d3c28c5ba5b2e2" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=sep&hash=c74650d467ba43e0148426a05841c102" alt="">grayscale vs. sepia
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mask%7Cimages%2Fmask06.png&f=png&hash=87b6ee194e5245d812b42f3ee84fcd3d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mask%7Cimages%2Fmask04.png&f=png&hash=91f24dde1124c4bcbfa804af2dfdd2c0" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mask%7Cimages%2Fmask05.png&f=jpeg&bg=9900CC&q=100&hash=cac84007ee67c522a89cc840e3d8ecdb" alt="">Assorted alpha masks (seen below) applied
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=drop%7C5%7C10%7C000000%7C225&f=png&hash=9530915fcb0a9f1b834a87149c34b6f7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mask%7Cimages%2Fmask06.png&fltr[]=drop%7C5%7C10%7C000000%7C225&f=png&hash=6c8b9806ccbb26a3f64e02b21dd56b47" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=drop%7C5%7C10%7C000000%7C225&fltr[]=elip&f=png&hash=4fb914447ccb23db700fb2cc79b69dfe" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=elip&fltr[]=drop%7C5%7C10%7C000000%7C225&f=png&hash=6c4396204d3f793a4b93c4085c413dbb" alt="">Drop shadow. Note how the order in which filters are applied matters.
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=elip&f=png&hash=8d4256ed0fc0d82ce2faa18bdf876099" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=elip&f=jpeg&bg=00FFFF&hash=e16ca00ed3bd8e8af730844ded479058" alt="">Elipse
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=flip%7Cx&hash=787e44654fb525318f5da19d3df3580d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=flip%7Cy&hash=61ff9c4ea5cb42b65ed0ff96a4badd53" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=flip%7Cxy&hash=a849a24e68ac195b9272886a178b893c" alt="">flipped on X, Y and X+Y axes
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=bvl%7C10%7CFFFFFF%7C000000&hash=246050c7afcce77ff3f096db07489bfa" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=bvl%7C10%7C000000%7CFFFFFF&hash=d172f284f6837d4e65acd4a05da5c558" alt="">10px bevel edge filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=fram%7C3%7C2%7CCCCCCC%7CFFFFFF%7C000000&hash=30c8552f91feabdc6d53a6ac655ef7df" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=fram%7C3%7C2%7CCC9966%7C333333%7CCCCCCC&hash=c9b27b9f891f0670d5fbff095ea60a95" alt="">3+2px frame filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=neg&hash=345c7c78c1eab565a39e5d7213b2c66d" alt="">Negative filter (inverted color)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=th%7C105&hash=b3d836daf105230acdbf91e2fc1373bc" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mask%7Cimages%2Fmask04.png&fltr[]=th%7C105&f=png&hash=a674466b4434ae9e0597b817460719a2" alt="">Threshold filter; showing preserved alpha channel
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=150&hash=11257675699f7635a5a188007965ab20" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=150&fltr[]=rcd%7C16%7C1&hash=9477a9b95f4cfa9b30d12407221dda95" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=150&fltr[]=rcd%7C16%7C0&hash=32c6f665d324ee53626418de0f753ada" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=150&fltr[]=gray&fltr[]=rcd%7C8%7C1&hash=02ba04b10d1089a8418748b03a66cd2d" alt="">ReduceColorDepth filter; original vs. 16-color dither vs. 16-color nodither vs. 4-gray dither
<img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=150&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=feb33e26c537e6576bd2fc9c47a2ab7c" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=150&fltr[]=lvl%7C%2A%7C0&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=26951b7e2441c264a96ee1c3a7f1751e" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=150&fltr[]=lvl%7C%2A%7C1&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=a013fc842358b8a493301041ec9127c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=150&fltr[]=lvl%7C%2A%7C2&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=eb2082adc84afd36b06823977adef36e" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=150&fltr[]=lvl%7C%2A%7C3&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=4d6e0f61730852d003d571602701984c" alt=""> <img border="0" src="../phpThumb.php?src=images%2Flilies.jpg&w=150&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=cc8f243704d7e80c950c7862bc137e6e" alt=""> <img border="0" src="../phpThumb.php?src=images%2Flilies.jpg&w=150&fltr[]=lvl%7C%2A%7C0&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=d7aa7240f1ef8747ffc1e1b4f621cb92" alt=""> <img border="0" src="../phpThumb.php?src=images%2Flilies.jpg&w=150&fltr[]=lvl%7C%2A%7C1&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=ee0bcebddc6344666cc0a93dccf56d2d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Flilies.jpg&w=150&fltr[]=lvl%7C%2A%7C2&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=3e84dfce72d9ee13e31c39e9de28a617" alt=""> <img border="0" src="../phpThumb.php?src=images%2Flilies.jpg&w=150&fltr[]=lvl%7C%2A%7C3&fltr[]=hist%7Crgb%7C%7C%7C%7CBR%7C100&fltr[]=hist%7C%2A%7C%7C%7C%7CBL%7C100&hash=7b861839bd728f65d483bf4bdb3d8b33" alt="">original vs. Levels filter methods (0=Internal RGB; 1=Internal Grayscale; 2=ImageMagick Contrast-Stretch; 3=ImageMagick Normalize)
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=300&hash=7c4248820838fde1ab22682b04491dbc" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=300&fltr[]=lvl&hash=bd61c6fee9d9944a81a56d9a9bbe6393" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=300&fltr[]=wb&hash=7e79b54e2cab9374ece98c8ec2b29729" alt="">original vs. Levels vs. White Balance
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=hist%7Crgb&hash=c668d9fc217e82148590b8291bcaf4cd" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fbunnies.jpg&w=300&fltr[]=hist%7C%2A&hash=a9280d61ea3e5065c3c0987c7208e79c" alt="">histograms of RGB vs. grayscale
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=edge&hash=ba1e303f3aca3c8412719729a9a385a4" alt="">Edge Detect filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=emb&hash=3445e1a272c975ea42fecf84eb6a3fef" alt="">Emboss filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=mean&hash=e0c7eac36e454f984ac1ea587c15ff66" alt="">Mean Removal filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=smth&hash=b5cc884a1018b1bac5b099bd3293b8b1" alt="">Smooth filter
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=gam%7C0.5&hash=fb760264ad6af7753dce34450e8bed1f" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=gam%7C1.0&hash=2b21e7d34e2116161849b5fbc8677d8d" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=gam%7C2.0&hash=64913ecb085553519960b59090a70214" alt="">Gamma corrected to 0.5 vs. 1.0 (normal) vs. 2.0
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=brit%7C50&hash=230d5fb39397d9e5d821c4aecd0a8ef3" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=brit%7C-50&hash=b94d2322ea0b61b78485567351771e77" alt="">Brightness filter (original vs. +50 vs. -50)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&hash=d4f58db2595cafed2e87db87565280c7" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=cont%7C50&hash=97187c43b697219465ce48c5996853db" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=cont%7C-50&hash=bfe1e4d408a8e4f3c34db6e4d691fee5" alt="">Contrast filter (original vs. +50 vs. -50)
<img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=300&fltr[]=over%7Cimages%2Fframe1.png%7C0&hash=e9d1f54391cea9a9815096e96e6ae948" alt=""> <img border="0" src="../phpThumb.php?src=images%2Fpineapple.jpg&w=300&fltr[]=over%7Cimages%2Fframe2.png%7C1&hash=dc41cc3c80b93c1a05803f4da399faf6" alt="">Overlay vs. Underlay
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7CphpThumb%7C18%7CC%7CFF0000%7Cloki.ttf%7C100%7C5%7C20&f=png&hash=fad3f8acade9ac60a0fcef0094f0dba2" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7C%2526%25239786%253B%2526%25239835%253B%2526%25230470%253B%2526%25231694%253B%7C40%7CL%7CFF0000%7Carial.ttf%7C100&f=png&hash=91def2db7f268877f85ecb5c21f665f0" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7Ccopyright%2B2024%7C3%7CBR%7C00FF00%7C%7C50&f=png&hash=7bd5f172aaa03b91af6274faf910e3b3" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7Ccopyright%2B2024%250AphpThumb%28%29%7C3%7CL%7C00FFFF&f=png&hash=6097f336952fa5a9c10e3f4c8bbb3607" alt="">Text overlay, TTF and built-in fonts, unicode characters (rawurlencoded HTMLentities), multiple lines, metacharacters (height, width)
<img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7Cthumbnail%2B&f=png&hash=591ffbe89dd169402c51024c3ac5f2e0" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7Cclick%250Ahere%250A%5EFkkB%7C10%7CL%7CFF00FF%7Carial.ttf%7C100%7C0%7C%7C333399%7C50%7Cy&f=png&hash=e771d482a5dc0bf62ca65d7517cbd086" alt=""> <img border="0" src="../phpThumb.php?src=images%2Floco.jpg&w=300&fltr[]=wmt%7Cresized%3A%2B%5EXx%5EY%2Bto%2B%5Exx%5Ey%7C10%7CB%7CFFFFFF%7Carial.ttf%7C100%7C0%7C%7C000000%7C100%7Cx&f=png&hash=72349a3b3153f0d28f458dce2e8dc0cb" alt="">metacharacters (height, width), background color, background extend
<img border="0" src="../phpThumb.php?new=FF0000&w=100&h=50&fltr[]=bvl%7C10&fltr[]=wmt%7Chello%7C14%7CC%7C00FFFF%7Carial.ttf&f=png&hash=427d58746010cf750a488dd3d83bb4bf" alt=""> <img border="0" src="../phpThumb.php?new=FF0000%7C25&w=150&h=50&fltr[]=bvl%7C10&fltr[]=wmt%7C25%25%2Bopaque%7C14%7CC%7C0066FF%7Carial.ttf&f=png&hash=dd519e5afdb97fd90ed871cf99095c53" alt="">Image created with "new", red background, bevel, TTF text
<img border="0" src="../phpThumb.php?src=images%2Fwinnt.bmp&w=300&hash=9174e38a23ac66fdfd0b8714a284cd8d" alt="">BMP source, width=300px
<img border="0" src="../phpThumb.php?src=images%2F1024-none.tiff&hash=1d19851cdd97968004e6bc2523db26a7" alt=""> <img border="0" src="../phpThumb.php?src=images%2F1024-none.tiff&w=300&aoe=1&hash=3369d1b96f28d1aa3be376f12c776183" alt="">TIFF source, width=300px
<img border="0" src="../phpThumb.php?src=images%2Fcomputer.wmf&w=300&hash=0b93212fb6a0a9e972144b473d3daf49" alt="">WMF source, width=300px
<img border="0" src="../phpThumb.php?src=images%2FphpThumb.com.pdf&w=300&hash=c210a3b0c9e1c2172db55fbaf872e274" alt="">PDF source, width=300px
<img src="../phpThumb.php/fltr[]=sep;200x200;images/pineapple.jpg" alt=""> <img src="../phpThumb.php/f=png;fltr[]=wmt|hello;fltr[]=flip|y;fltr[]=wmt|hello;200x100;new=FF00FF" alt="">PATH_INFO example
Illustration of potential difference between GD1.x and GD2.x In most cases the thumbnails produced by phpThumb() on GD v1.x are perfectly acceptable, but in some cases it may look ugly. Diagonal lines and reducing a very large source image increase chance for bad results (the house/sky picture has both problems). Here are three static examples: |
|||
GD v2.0.15 | |||
GD v1.6.2 |