If you import 1-bit bitmap images, they take very much size after saving. This is because they are converting while importing to 32-bit images.
To improve documentation some images need to be replaced. So issue #100 depends from this issue.
The example:
The solution:
http://redmine.blackboxframework.org/pr ... 80743c8d8a
Version to try:
http://blackboxframework.org/unstable/i ... b1.533.zip
issue-#114 import for 1-bit bitmap
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#114 import for 1-bit bitmap
Is this a bug, or a new feature?
By coincidence I had a bitmap problem today. I was reading some .pngs using FreeImage, and was expecting a color depth of 24 bits in 32 bit words. But some of the high order bits were being set, which confused my software. (I clear these bits deliberately now.)
But it raises the question: Does / can BlackBox support transparency with bitmaps? It would certainly be useful.
Robert
By coincidence I had a bitmap problem today. I was reading some .pngs using FreeImage, and was expecting a color depth of 24 bits in 32 bit words. But some of the high order bits were being set, which confused my software. (I clear these bits deliberately now.)
But it raises the question: Does / can BlackBox support transparency with bitmaps? It would certainly be useful.
Robert
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#114 import for 1-bit bitmap
It makes some wrong behavior. However I am not sure, that it is a bug.Robert wrote:Is this a bug, or a new feature?
If you and others think, that is is a feature, we can leave this issue for 1.8 version.
- Josef Templ
- Posts: 2047
- Joined: Tue Sep 17, 2013 6:50 am
Re: issue-#114 import for 1-bit bitmap
Please clarify what this issue is about.
I have loaded the test bitmap and saved it but there was no size explosion.
I got a size explosion only after converting it from OLE to Picture (Bitmap),
i.e. into a different format, using Edit->Paste Special...
There was no size explosion when converting it to Picture (Metafile).
- Josef
I have loaded the test bitmap and saved it but there was no size explosion.
I got a size explosion only after converting it from OLE to Picture (Bitmap),
i.e. into a different format, using Edit->Paste Special...
There was no size explosion when converting it to Picture (Metafile).
- Josef
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#114 import for 1-bit bitmap
Josef, thanks for your check.
This bug appears only with Wine... so there is no big need to fix this. I can do all the manipulations on windows.
I am closing this!
This bug appears only with Wine... so there is no big need to fix this. I can do all the manipulations on windows.
I am closing this!