Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@mranger90 said in Save QImage from BYTE buffer segfaults ?:
try: BYTE *buf = new BYTE[imWidth * imHeight];
So the issue turned out to be with the device itself. Changing the code as above and replacing the device solved the issue. Thanks.
@shwoods said in Alpha channel not written to bmp by QImage::save?:
Did you ever get feedback on this?
no, since i never asked anyone :) You can ask on the Qt mailing-list if you like.
Ok, I think a clean and rebuild of the whole project did the trick.
I always forget when I don't use it for sometimes. When something is doing weird with Qt you have to clean, qmake or rebuild to get everything in order.
I will tag this issue as solved !