Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Oct 05, 2010 @ 15:04
    Biagio Paruolo
    0

    Are there API graphic function like this into Umbraco?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 05, 2010 @ 15:23
    Ismail Mayat
    0

    Biagio,

    Imagegen is what you need for resizing images http://our.umbraco.org/projects/website-utilities/imagegen

    regards

     

    Ismail

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Oct 05, 2010 @ 15:55
    Biagio Paruolo
    0

    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.

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Oct 06, 2010 @ 22:57
    Biagio Paruolo
    0

    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

    • 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.

Please Sign in or register to post replies

Write your reply to:

Draft