static private LoadWithCodecs ( Stream stream, int decodeWidth, int decodeHeight, double scale, bool isDDS ) : List |
||
stream | Stream | Stream containing entire file. NOT just pixels. |
decodeWidth | int | Width to decode as. Aspect ratio unchanged if decodeHeight = 0. |
decodeHeight | int | Height to decode as. Aspect ratio unchanged if decodeWidth = 0. |
scale | double | DOMINANT. DecodeWidth and DecodeHeight ignored if this is > 0. Amount to scale by. Range 0-1. |
isDDS | bool | True = image is a DDS. |
return | List |