ogx / Calculation2D

Extensible 2D image processing framework for C++
3 stars 0 forks source link

calc2dcmd blank image #113

Closed carasuca closed 11 years ago

carasuca commented 12 years ago

load image.bmp show image.bmp

produces a white image. image params: 1280x960, 32bpp the same image converted to 8bit loads, but is shown cropped (on the left side) the same image saved in PNG format does not load: "error: reading file failed"

any ideas?

themoob commented 12 years ago

Displaying RGBA images is adapted for PNG images. Alpha channel is then used for linear blending of pixel color and white background. If it's improperly set (i.e. 0), pixel color is ignored.