K
kimiraikkonen
While setting an image's
imageCodecInfo(system.drawing.imaging.imagecodecinfo) as
System.Drawing.Imaging.ImageCodecInfo.GetImageEncoders(), i found out
that "GetImageEncodesr(1)" refers to jpeg and "GetImageEncoders(0)
refers to BMP and "GetImageEncoders(4) refers to PNG... I found by
trying array index numbers, the surprsing thing is there was no
definition about which array item refers to what.
There is no explict info on MSDN or on other code sites. So, if i
didn't try which GetImageEncoders array member refers to which
extension(format), how would i find and know the correct
format(extension) type without trying myself? It must be shown on MSDN
or elsewhere.
imageCodecInfo(system.drawing.imaging.imagecodecinfo) as
System.Drawing.Imaging.ImageCodecInfo.GetImageEncoders(), i found out
that "GetImageEncodesr(1)" refers to jpeg and "GetImageEncoders(0)
refers to BMP and "GetImageEncoders(4) refers to PNG... I found by
trying array index numbers, the surprsing thing is there was no
definition about which array item refers to what.
There is no explict info on MSDN or on other code sites. So, if i
didn't try which GetImageEncoders array member refers to which
extension(format), how would i find and know the correct
format(extension) type without trying myself? It must be shown on MSDN
or elsewhere.