![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw |
#3
| |||
| |||
|
|
On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. |
#4
| |||
| |||
|
|
On 03/02/2012 19:01:03, PW wrote: On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. I've used ImageMagic to create transparent images to go on a form.... probably equally tedious, but I programmed something to draw basic boat and camoe shapes. Phil |
#5
| |||
| |||
|
|
On 03/02/2012 19:01:03, PW wrote: On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. I've used ImageMagic to create transparent images to go on a form.... probably equally tedious, but I programmed something to draw basic boat and camoe shapes. Phil |
#6
| |||
| |||
|
|
On 03/02/2012 19:01:03, PW wrote: On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. I've used ImageMagic to create transparent images to go on a form.... probably equally tedious, but I programmed something to draw basic boat and camoe shapes. Phil |
#7
| |||
| |||
|
|
On Fri, 3 Feb 2012 23:44:55 GMT, "Phil" <phil (AT) stantonfamily (DOT) co.uk wrote: On 03/02/2012 19:01:03, PW wrote: On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. I've used ImageMagic to create transparent images to go on a form.... probably equally tedious, but I programmed something to draw basic boat and camoe shapes. Phil Ick. No GUI or installer (if I have the right link: http://imagemagick.en.softonic.com/). |
#8
| |||
| |||
|
|
On 04/02/2012 03:44:12, PW wrote: On Fri, 3 Feb 2012 23:44:55 GMT, "Phil" <phil (AT) stantonfamily (DOT) co.uk wrote: On 03/02/2012 19:01:03, PW wrote: On Thu, 02 Feb 2012 22:33:50 -0700, PW emailaddyinsig (AT) ifIremember (DOT) com> wrote: Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). I tried converting the .bmp files to .jpgs but they show up with a gray background (better than pink!). Any ideas if this is possilbe? I puchased them from Axialis. Thanks, -paulw I just used Fireworks to convert a .png with alpha channel into a .bmp and it looks okay. Going to be a tedius process but oh well. I've used ImageMagic to create transparent images to go on a form.... probably equally tedious, but I programmed something to draw basic boat and camoe shapes. Phil Ick. No GUI or installer (if I have the right link: http://imagemagick.en.softonic.com/). It's a b......r to find,and I cant find the source My version is ImageMagick-6.6.8-Q16 though your link appears to be to a later vesion I tried ImageMagick-6.6.9-Q16 and that didn't work I was using it to display an image of a boat, with the name of the boat and label with the owner's name and had a lot of overlaps, hence the need for transparent images. Sample of code follows to create a boat Function CreateBoatImage() Dim IMCmd As String Dim ImFileOut As String Dim sGO As String Dim ImagePath As String, StoragePath As String, PicPath As String ImagePath = Elookup("ExcelPath", "QCoinfoPaths") StoragePath = Elookup("StorageFolder", "QCoinfoPaths") ' First 2 numbers are X & Y centres ' Second 2 numbers are width and length ' Third 2 numbers are how far round in degrees. IMCmd = ImagePath IMCmd MCmd = IMCmd & "convert -size 200x200 xc:none -stroke black -strokewidth 1 -fill transparent " IMCmd = IMCmd & " -draw " & Chr$(34) & "ellipse 80,30 40,20 20,90" & Chr$(34) & " " IMCmd = IMCmd & " -draw " & Chr$(34) & "ellipse 80,43 40,-20 20,90" & Chr$(34) & " " IMCmd = IMCmd & " -draw " & Chr$(34) & "line 30,26 80,23" & Chr$(34) & " " IMCmd = IMCmd & " -draw " & Chr$(34) & "line 30,47 80,50" & Chr$(34) & " " IMCmd = IMCmd & " -draw " & Chr$(34) & "line 30,26 30,47" & Chr$(34) & " " IMCmd = IMCmd & " -rotate -90 " IMCmd = IMCmd & "-background transparent -trim +repage " ChDir hDir (StoragePath) ' Imagemagick does not understand paths ImFileOut = "MasterBoat.Png" If Dir(ImFileOut) > "" Then Kill ImFileOut End If sGO = IMCmd & ImFileOut If ShellWait(sGO, vbHide) = 1 Then PicPath = StoragePath & "\" & ImFileOut Else MsgBox "Error ???" End If End Function Phil |
#9
| |||
| |||
|
|
Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). |
#10
| |||
| |||
|
|
"PW" wrote in message news:m5smi79jge8n0qs8f08sj8hdjic3koahk7 (AT) 4ax (DOT) com... Hi, The icon pack I purchased comes with .bmp files that are coded in RGB with magenta areas to define transparency. But they are showing up in the ribbon as magenta borders, etc... Other formats are .ico and .png which are not accepted in the ribbon (they are RGB with alpha transparancy). How are you loading the icons. |
|
The samples here: http://www.accessribbon.de/en/index.php?Downloads |
|
Use a routine called loadpictureGDI in placer of loadpicture() (the one that VBA had for ages). Using this routine will load + respect transparency. If you just use the very old VBA loadpicture() command then I as a rule find the icons, bmp, png, gif all look rather poor. |
![]() |
| Thread Tools | |
| Display Modes | |
| |