/P# |
Meaning |
Extra Parameters: /a{Parameter1} /j |
2 |
Transform Resize an Image |
/a = New width of the image (Pixels) /b = New height of the image (Pixels) /c = Method of Interpolation (0 = None, 1 = Billinear, 2 = Bicubic). The method by which the picture is recalculated (shrunk or stretched). You have 3 choices (None, Billinear, and Bicubic). /d = Background color of the new image. This is an integer value. BackColor = Red + Green*256 + Blue*256*256 (Red, Green and Blue are 8 bits each) For example,
|
This special process can resize an image to the exact dimensions (in pixels) you specify. If you want to retain the aspect ratio (ratio of height to width) of the new image, this is also possible by specifying only the new height or width (but not both). Omitting either the new height or width causes the missing dimension to be calculated.
Examples:
Example 2 Resize an Image File and Retain Aspect Ratio