Bitmap files are corrupted (white specks)


The bitmap files that Cropper saves do not load correctly in some programs - there are white specks that appear throughout the image. Here's what I've noticed:
Opens correctly in: Windows Picture and Fax Viewer, Firefox, Internet Explorer, Paint
Opens incorrectly (corrupted) in: Paint.NET, XnView
I can provide one of the corrupted bitmap files on request.


Exertion wrote Feb 6, 2012 at 9:21 AM

Also if gif capture is ended by closing program via menu it ends up as corrupt gif.

wrote Feb 6, 2012 at 9:22 AM

wrote Feb 22, 2013 at 12:26 AM

hstein wrote Jul 18, 2013 at 5:55 AM

The original bitmap was taken on an image parts of which were drawn using transparent colors. That in turn means the transparent color(s) will only look correct if drawn over the same background color. In your case, those utilities which showed white specks were simply defaulting the background color of a bmp to white. This is because natively, the bmp specification does not support transparent backgrounds. png does. Thus, the tools you discussed that were problematic will have an option to let you guess and set the background color (stored in bmp location (0,0)) provided the image is in 256-colors (not 24-bit color).
Try png format. Should display correctly in all apps. Or with the paint.net and xnview tools, set the background color for bmps as discussed, for example, in http://newsgroup.xnview.com/viewtopic.php?p=27626 . gifs are also problematic in their own way and that can be googled. The point is that this is not a 'cropper' issue and cropper has no business doing this kind of stuff -- this is suitable for a photo-editor, etc. Hope this helps.

CathyDemi wrote May 26, 2014 at 2:16 AM

Why don't you try this image cropper? It supports bitmap perfectly, and I use it like all the time!