I know. It was an old knowledge, but some features that I need, are not free like upper API. There was an old project on CodePlex ( DNAIDE http://dnaide.codeplex.com/ ) , but it stopped.
width, height - force the width and/or height to certain dimensions. Whitespace will be added if the aspect ratio is different.
maxwidth, maxheight - fit the image within the specified bounds. (Most often used)
crop=auto - Crop the image the the size specified by width and height. Centers and minimally crops to preserve aspect ratio.
crop=(x1,y1,x2,y2) - Crop the image to the specified rectangle on the source image. You can use negative coordinates to specifiy bottom-right relative locations.
rotate=degress - Rotate the image.
bgcolor=color name| hex code (6-char). Sets the background/whitespace color.
stretch=fill - Stretches the image to width and height if both are specified. This is the only way to lose aspect ratio.
scale=both|upscaleonly|downscaleonly - By default, images are never upscaled. Use &scale=both to grow an image.
flip=h|v|both - Flips the image after resizing.
sourceFlip=h|v|both - Flips the source image before resizing/rotation.
paddingWidth=px & paddingColor=color|hex. paddingColor defaults to bgcolor, which defaults to white.
borderWidth=px, borderColor=color|hex.
format=jpg|png|gif
colors=2-255 - Control the palette size of PNG and GIF images. If omitted, PNGs will be 24-bit.
frame=x - Choose which frame of an animated GIF to display.
page=x - Choose which page of a multi-page TIFF document to display.
Are there API graphic function like this into Umbraco?
API graphic function like this: http://api.silverstripe.com/2.4/sapphire/filesystem/GD.html
Biagio,
Imagegen is what you need for resizing images http://our.umbraco.org/projects/website-utilities/imagegen
regards
Ismail
I know. It was an old knowledge, but some features that I need, are not free like upper API. There was an old project on CodePlex ( DNAIDE http://dnaide.codeplex.com/ ) , but it stopped.
Good News from IIS world...
I'll give a try to Dynamic Image Resizing Module
http://www.iis.net/community/default.aspx?tabid=34&g=6&i=1916
Features
Command Reference
is working on a reply...