Hi Boki
I don't know if I'm doing something wrong, but I can't get the nxLinkLabel to show the glyph. I have loaded a glyph and set the DisplayMode to dbGlyph, but the area where the glpyh should be is blank (it moves the text to the right to make room for the glyph, but the glyph is never displayed).
What am I doing wrong?
Regards,
Deon
nxLinkLabel Glyph
Started by deonvn, May 30 2007 09:45 AM
6 replies to this topic
#1
Posted 30 May 2007 - 09:45 AM
#2
Posted 30 May 2007 - 10:34 AM
Hello Deon,
Can you please send me this Glyph to me, or small demo project. I have check it now and all is fine (nothing is changed here for last time).
Thank you.
regards
Can you please send me this Glyph to me, or small demo project. I have check it now and all is fine (nothing is changed here for last time).
Thank you.
regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 30 May 2007 - 02:29 PM
Hello Deon,
This glyph include alpha-channel, but whole channell is black and glyph is completelly transparent.
You may open this image in Photoshop and remove alpha-chanell and save image as 24bit image.
Best regards
This glyph include alpha-channel, but whole channell is black and glyph is completelly transparent.
You may open this image in Photoshop and remove alpha-chanell and save image as 24bit image.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 30 May 2007 - 03:59 PM
Thanks Boki
I removed tha Alpha channel and now it works fine.
I have no idea how the Alpha channel got there, what it is or what it actually does. When it comes to graphics I obviously have no idea what I'm doing
Thanks again
Deon
I removed tha Alpha channel and now it works fine.
I have no idea how the Alpha channel got there, what it is or what it actually does. When it comes to graphics I obviously have no idea what I'm doing
Thanks again
Deon
#5
Posted 30 May 2007 - 04:07 PM
Hello Deon,
Maybe when you have save this icon from other program, this program have create it.
Alpha-channel is very good for anti aliased icons: What is drawn 100% black in alpha-channel will be fully transparent, 50% gray will be 50% transparent and so on.
For example: Draw one anti aliased circle in photoshop (with using Shape tool). Do Ctrl+Click on layer thumbnail to select layers transparency. Click on Select->Invert Selection and then add new Chanel. Save this image as 32bit bitmap and display it on NxGlyph for example. You will see how nice it may look
I will write small tutorial for this soon
regards
Maybe when you have save this icon from other program, this program have create it.
Alpha-channel is very good for anti aliased icons: What is drawn 100% black in alpha-channel will be fully transparent, 50% gray will be 50% transparent and so on.
For example: Draw one anti aliased circle in photoshop (with using Shape tool). Do Ctrl+Click on layer thumbnail to select layers transparency. Click on Select->Invert Selection and then add new Chanel. Save this image as 32bit bitmap and display it on NxGlyph for example. You will see how nice it may look
I will write small tutorial for this soon
regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#6
Posted 30 May 2007 - 05:28 PM
Thanks. I will try it.
Regards,
Deon
Regards,
Deon
#7
Posted 31 May 2007 - 01:08 AM
Hello,
Here is a one small tutorial for creating 32bit images. I will create one antialiased circle and create alpha-channel for it.
All you need is a Photoshop 7 or newer version (CS, CS2, CS3).
1) Open Photoshop.
2) Create new image (32px x 32px), and set Background to be transparent
3) Click on Ellipse tool 1.gif 1.29KB 0 downloads
4) Draw antialiased circle:
2.gif 2.65KB 0 downloads
(zoomed 600%)
5) Hold CTRL + Click on layer thumbnail to select layer's transparency:
3.gif 2.63KB 0 downloads
4.gif 319bytes 0 downloads
6) Chose (from main menu) Select -> Inverse.
7) Add new channel by clicking on Save selection as channel
5.gif 9.16KB 0 downloads
6) Chose (from main menu) File -> Save As
7) Pick BMP as extension, and in next dialog chose 32 bit.
Now this image may be used inside NxGlyph, NxLinkLabel, NxButton, NextGrid and it will be antialiased.
Best regards
Here is a one small tutorial for creating 32bit images. I will create one antialiased circle and create alpha-channel for it.
All you need is a Photoshop 7 or newer version (CS, CS2, CS3).
1) Open Photoshop.
2) Create new image (32px x 32px), and set Background to be transparent
3) Click on Ellipse tool 1.gif 1.29KB 0 downloads
4) Draw antialiased circle:
2.gif 2.65KB 0 downloads
(zoomed 600%)
5) Hold CTRL + Click on layer thumbnail to select layer's transparency:
3.gif 2.63KB 0 downloads
4.gif 319bytes 0 downloads
6) Chose (from main menu) Select -> Inverse.
7) Add new channel by clicking on Save selection as channel
5.gif 9.16KB 0 downloads
6) Chose (from main menu) File -> Save As
7) Pick BMP as extension, and in next dialog chose 32 bit.
Now this image may be used inside NxGlyph, NxLinkLabel, NxButton, NextGrid and it will be antialiased.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users