Recent Posts

Pages: [1] 2 3 ... 10
1
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 05:22:49 PM »
One thing that's sometimes causes troubles with the alpha channel : it might need to be inverted.
Internally this codes opacity, not transparency, i.e. 255 is fully opaque and 0 is fully transparent.

That's true. Thanks for the information.

I saved the uncompressed chunky pixel data from the original 32bit png as a .bin file. When I have time I will use a hex editior to compare the scan0 at the end of the bmpx file and compare it directly to the first scanline in the png which is 'ARGB'. I can compare byte by byte to see what format the bmpx 32bit data is in the actual bmpx file.

That also gives me a good test case to use the new Zune Hex Editor. Thank you for that.
2
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by Yannick on September 17, 2019, 03:09:25 PM »
One thing that's sometimes causes troubles with the alpha channel : it might need to be inverted.
Internally this codes opacity, not transparency, i.e. 255 is fully opaque and 0 is fully transparent.
3
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 02:24:24 PM »
Using ZunePaint to test BMPX datatype.

I like how it scales the image to fit the screen.
4
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 01:54:13 PM »
As your colors are OK it seems that the endianess is OK.
In order to get a "background" for the alpha channel you first need to draw it yourself in the application, datatypes are not doing this.

Try opening the image in ZunePaint, it is using datatypes and draws a checkered background.

Thank you. Good idea.

Zune Paint shows a checkered background for the orginal png but still black for the bmpx.
But the good news is that displaying 32bit bmpx without an alpha mask works very well.

Because of time constraints I may have to try to solve the bmpx alpha display issue later.
Padding Bytes works on nearly all images except a few. My formula for testing Modulus
probably needs adjusted. That's easy enough to resolve. I should have it ready tomorrow.

The bmpx datatype can Load 1bit, 4bit, 8bit, 24bit, and 32bit bmp files. It can Save 8bit,
24bit, and 32bit bmp's. In a future update I plan to also include OS/2 bitmap file support.
5
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by Yannick on September 17, 2019, 08:58:11 AM »
As your colors are OK it seems that the endianess is OK.
In order to get a "background" for the alpha channel you first need to draw it yourself in the application, datatypes are not doing this.

Try opening the image in ZunePaint, it is using datatypes and draws a checkered background.
6
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 04:42:42 AM »
Still working on the BMPX datatype.

In theory at least the BMPX 32bit file is BGRA so it should display as Transparent.

In fact, I used a gold crown with a transparent background to test BMPX + Alpha.
I started with a transparent PNG (alpha mask), then saved as BMPX using PixelFormer 'Export As'.
In the Save Dialog I specified 'RGBA' but when I opened it with ShowPicture using datatypes the
background is not transparent. It's Black! But I reopen the same file in PixelFormer and it works!

Something must be wrong with my method for displaying the image! The format is RGBA but I'm
using Cybergraphx function 'WritePixelArrayAlpha' which expects RECTFMT_ARGB. Maybe that's it?

7
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 04:35:35 AM »
no miker

No what? My assessment is wrong?
No PDF datatype yet.  That may come with Ghostscript and Terminills' attempt at bringing AROS' print drivers up-to-date.

Ah! I understand. I'd be interested to see how the PDF datatype works.
I mostly work with graphics programs, file systems and disk imaging.
8
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by Samurai_Crow on September 17, 2019, 04:04:37 AM »
no miker

No what? My assessment is wrong?
No PDF datatype yet.  That may come with Ghostscript and Terminills' attempt at bringing AROS' print drivers up-to-date.
9
General Chat / Re: ArosWorld gone
« Last post by cavemann on September 17, 2019, 02:51:50 AM »
Sorry for the delay. I can login, but still can't get to many areas yet.

Thanks for staying the course until next year. Hopefully things will pick up, but it seems to get slow at Aros-exec sometimes too. Good luck!!!

10
Icaros Desktop / Re: AROS Picture DataTypes
« Last post by miker1264 on September 17, 2019, 01:42:50 AM »
no miker

No what? My assessment is wrong?
Pages: [1] 2 3 ... 10