G
Guest
Hi,
Now I am working on a Pocket PC image processing software. I need to store
images after they have been modified. Realizing Compact Framework doesn't
support the "Image.Save" method, I bring in a jpeg encoder (in C++), which is
able to encode a BMP file into a JPG file, and modify it to accept a byte[]
as the input instead of a BMP file.
I planed to use to "Bitmap.GetPixel" method to get every pixel's color and
generate a byte[]. However, I am very sad to find that my programme doesn't
respond once get started. I think this problem may due to the slow speed of
the "Bitmap.GetPixel" method and the large amount of pixels (640*480).
Please tell me how to solve this problem, or tell me some other ways to
store a Image.
Any help is greatly appreciated!!
Now I am working on a Pocket PC image processing software. I need to store
images after they have been modified. Realizing Compact Framework doesn't
support the "Image.Save" method, I bring in a jpeg encoder (in C++), which is
able to encode a BMP file into a JPG file, and modify it to accept a byte[]
as the input instead of a BMP file.
I planed to use to "Bitmap.GetPixel" method to get every pixel's color and
generate a byte[]. However, I am very sad to find that my programme doesn't
respond once get started. I think this problem may due to the slow speed of
the "Bitmap.GetPixel" method and the large amount of pixels (640*480).
Please tell me how to solve this problem, or tell me some other ways to
store a Image.
Any help is greatly appreciated!!