Problem with PNG files |
Post Reply |
Author | |
Pilikoff
Newbie Joined: 24 September 2007 Location: Russian Federation Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 24 September 2007 at 7:03am |
Hi. Sorry for my bad English.
I'l try to customize Ribbon Sample by customizing standart Blue Style resource PNG files. When i'l re-save Office2007_FrameSystemButton.png (and some other) file using Adobe Photoshop without any changes in file, i'l have some problem. White stripes: System Button Resource: _______ Resource: |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
All alpha bitmaps are premultiplied by defaut to increase loading speed. If you don't use premultiplied bitmaps you can manually patch CXTPOffice2007Image::LoadFile method and add Premultiply() method call in the end of file.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Pilikoff
Newbie Joined: 24 September 2007 Location: Russian Federation Status: Offline Points: 3 |
Post Options
Thanks(0)
|
If I want to use premultiplied images, what software I should use for correct transparency in Ribbon Sample?
|
|
Pilikoff
Newbie Joined: 24 September 2007 Location: Russian Federation Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thanks Oleg. Work's.
Adobe Photoshop hides alfa-chanal during re-saveing png file. I'l save image in tiff-format with option "Saving transparency" and then covert it to png with Ms Office Paint Manager, that save's alfa-chanal. And...It's work too. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks for this tip :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
drimage
Newbie Joined: 05 June 2013 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
thank you for sharing this tip, it is a great idea to convert tiff to png and solve this prolbem. i don' t have Ms Office Paint Manager, can a third party tiff to png converter ok?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |