problem with circular bmp images in ribbonbar

problem with circular bmp images in ribbonbar

Postby marzio » Sun Feb 12, 2017 9:11 am

I have some old programs with via-coral ribbonbar that i want to convert to fivewin ribbonbar.
i have a problem with circular bmp images: in via-coral ribbonbar appears:

Image

in fivewin ribbobar appears:

Image

is there a way to correct the contour black pixels effect?

thanls in advance,
marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby marzio » Mon Feb 13, 2017 10:48 am

I have some old programs with via-coral ribbonbar that i want to convert to fivewin ribbonbar.
i have a problem with circular bmp images: in via-coral ribbonbar appears:

Image

in fivewin ribbobar appears:

Image

is there a way to correct the contour black pixels effect?

thanls in advance,
marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby nageswaragunupudi » Mon Feb 13, 2017 11:58 am

We will try.
May we ask how do you find the display of the same bitmaps on buttonbar?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10253
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with circular bmp images in ribbonbar

Postby marzio » Mon Feb 13, 2017 2:41 pm

thanks for your attention.

here are seven bmp icons: http://www.valli-italy.net/download/marzio/bmp.zip

marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby marzio » Mon Feb 13, 2017 5:06 pm

in buttonabar appears:

Image
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby nageswaragunupudi » Mon Feb 13, 2017 5:28 pm

Thanks
We are checking please.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10253
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with circular bmp images in ribbonbar

Postby marzio » Tue Feb 14, 2017 3:02 pm

if this can help you to understand the problem, i have posted another button with alfabitmap image.
(i have inserted the alfabitmap image 'downadd.jpg' in the same zip file mentioned above).

in via-coral ribbonbar:
Image

in fivewin ribbonbar:
Image

thanks for your attention
marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby nageswaragunupudi » Tue Feb 14, 2017 3:26 pm

please send these two bitmaps also
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10253
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: problem with circular bmp images in ribbonbar

Postby Gale FORd » Tue Feb 14, 2017 4:00 pm

Using the images in the zip I notice the same thing. If I edit the .bmp with pixelformer and save them with Premultiplied alpha checked it looks ok.
Here is original Cancella.bmp and Plus.bmp
Image
Here is the option selected and then the new .bmp images
Image
Image
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: problem with circular bmp images in ribbonbar

Postby marzio » Tue Feb 14, 2017 4:18 pm

i have inserted the new alfabitmap in the same zip, download it again.

http://www.valli-italy.net/download/marzio/bmp.zip

i will try your suggestion with photoshop.
thanks, marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby marzio » Tue Feb 14, 2017 4:44 pm

i have download pixelformer, in photoshop i don't see the check premultiplied, (i see only 32bit A8 R8 G8 B8)
with pixelformer now all is ok.
thanks very much,
marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am

Re: problem with circular bmp images in ribbonbar

Postby Gale FORd » Tue Feb 14, 2017 7:13 pm

Photoshop is great but it is not always the easiest on bitmaps.
Here are a couple of options I read about doing this with Photoshop

One is to apply the alpha as transparency to a layer and use the Layer > Matting > Remove Black Matte function. Unfortunately this doesn't work when using a layer mask, the mask needs to be applied.

My preferred method would be to apply the alpha to the layer as a layer mask. Copy the alpha and paste it into a new layer above this masked layer. Clip the RGB version of the alpha to the masked layer and set its blend mode to Divide.


Seems more complicated and more steps so I use Pixelformer for simple stuff. I also use IconWorks and PhotoImpact.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: problem with circular bmp images in ribbonbar

Postby marzio » Wed Feb 15, 2017 9:26 am

many thanks for your details!
i think that for alfabitmap i will use Pixelformer.
i will try also IconWorks and PhotoImpact.

marzio
marzio
 
Posts: 129
Joined: Wed Apr 04, 2007 6:54 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 18 guests

cron