Using FJCore to encode Silverlight WriteableBitmap

前端 未结 3 954
走了就别回头了
走了就别回头了 2021-01-05 19:31

I am trying to find out how to use FJCore to encode a WriteableBitmap to a jpeg. I understand that WriteableBitmap provides the raw pixels but I am not sure how to convert i

3条回答
  •  半阙折子戏
    2021-01-05 19:39

    Sounds like [n] should be the byte-array of the image, I have been looking into encoding WriteableBitmap into a JPEG and found the same library but have not looked into it in detail, but assume this would be the case, will add more later to this answer to see if this works, as I have not have the chance to try it yet. There will be some method to get the bytes of a WritableBitmap in Silverlight I guess as it is possible to save to other types.

提交回复
热议问题