Welcome To Snipplr


Everyone's Recent Snippets Tagged resize



Coments, Coments, And More Coments,
0 119 posted 10 years ago by enabled88
Input: .jpg images of current directory\r\n\r\nOutput: the thumbnails will be generated in \'thumb\' folder
0 102 posted 10 years ago by abhiomkar
0 58 posted 10 years ago by tao326
Un ejemplo de como hacer un resice del formulario conjunto a todos los controles.
0 162 posted 10 years ago by keidash
3 321 posted 10 years ago by ax4413
0 100 posted 10 years ago by metoikos
Ever have to make a swf that needs to change height? Want to use the browser's scrollbar instead of having to create one in flash?
0 90 posted 10 years ago by cessnajumpin
0 91 posted 10 years ago by jfoucher
Usage: <code> var newDimensions:Object = resize(800,600,320,200); </code> This can be adapted to pretty much any language...
1 125 posted 10 years ago by kaptnkill
Remove the doctype and any xml namespace declarations from your header and quirks mode will take care of the rendering, additionally this fix is not compatible with IE8 rendering so we need to put IE8 in emulation mode
1 174 posted 10 years ago by jaff
This properly handles transparencies for PNG/GIF.
0 117 posted 10 years ago by gms8994
need to be reviewed
2 91 posted 10 years ago by bionickid
Can't seem to remember where I found this and it's no longer in my bookmarks. If you know where this came from please provide the link so credit can go to the right person.
1 118 posted 10 years ago by The14thGOD
Some code that will load an image from a remote URL, and then resize it.
6 223 posted 10 years ago by suibhne
1 90 posted 10 years ago by stancox
Creating thumbnails of the images is required many a times, this code will be useful to know about the logic of thumbnail generation.
0 120 posted 11 years ago by paulgrenwood
A simple one-liner to resize images from commandline
1 140 posted 11 years ago by ping_ch
1 96 posted 11 years ago by philokezzar
I needed a quick way to resize and save to a folder lots of images. Imagemagick is magic indeed!
1 171 posted 11 years ago by zerolab
* Resized images are generated into TARGET_DIR. * Change the resolution (800x800 in my example) and quality (80) as you want. * The command keeps the image's proportion. 1600x1200 will be converted into 800x600, 1200x1600 into 600x800. _Notice_:...
2 140 posted 11 years ago by Dorgendubal
Resizes BitmapData objects smoothly, using bilinear algorithm.
1 113 posted 11 years ago by dain
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 221 posted 11 years ago by chrisaiv
To use the resize function you must pass in the forced width, forced height, source image, and destination image. The function then uses the GD2 library functions to read the source image's size. It will then calculate the new image's size based off...
3 130 posted 11 years ago by Jenhale