Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 18th, 2012  |  syntax: None  |  size: 0.60 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $Image.SetWidth(80) // returns a image 80px wide, ratio kept the same
  2. $Image.SetHeight(80) // returns a image 80px tall, ration kept the same
  3. $Image.SetSize(80,80) // returns a 80x80px padded image
  4. $Image.SetRatioSize(80,80) // **New in 2.4** returns an image scaled proportional, with its greatest diameter scaled to 80px
  5. $Image.PaddedImage(80, 80) // Returns an 80x80 image. Unused space is padded white. No crop. No stretching
  6. $Image.Width // returns width of image
  7. $Image.Height // returns height of image
  8. $Image.Orientation // returns Orientation
  9. $Image.Filename // returns filename
  10. $Image.URL // returns filename