|
Post by jarych on Jun 25, 2019 9:44:08 GMT
I made BMP file in MS paint, made sure it was 32 by 32 pixel size and then expected to try opening it in the JB icon editor in order to inspect and to save as an ICO file. This did not work. Message was something like, 'cannot open icon from EXE.' This makes poor sense. What did I maybe do wrong, or what else?
|
|
ntech
Junior Member
Posts: 99
|
Post by ntech on Jun 25, 2019 18:17:31 GMT
Hmmm, I've never noticed the icon editor before. Thanks for pointing it out! Well, with the open file dialog, it says "Icon Files (*.ico)," so perhaps you're trying to open a ".bmp" and that's returning an error. You may use a bmp->ico converter, like this one, to act as an intermediary before you edit it with JustBasic.
|
|
|
Post by jarych on Jun 26, 2019 1:17:40 GMT
Hmmm, I've never noticed the icon editor before. Thanks for pointing it out! Well, with the open file dialog, it says "Icon Files (*.ico)," so perhaps you're trying to open a ".bmp" and that's returning an error. You may use a bmp->ico converter, like this one, to act as an intermediary before you edit it with JustBasic. That must be it! I will check into this today or tomorrow or day after. This should have been obvious. Also I learned how to create an icon directly in Icon Editor without trying to open some other image file.
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Dec 23, 2019 22:18:07 GMT
Right its a bit late, but I had no luck with the JB2 icon editor either, presumably because the target 32x32 pixel .ico image was in fairly standard '32 bit' colours, not in the, apparently rarer, '16 bit depth' colours required. Could not find any way to convert the colour bit depth but had success with the more usual Windows colours using 'icochange' from the JB archive at: jbfilesarchive.com/phpBB3/viewtopic.php?f=2&t=115 , which handled the image ok. It did furnish a custom icon to the exe. and incidentally also to its shortcut, but that does not show in the title headers in the running program as promised by JB2's accessory icon editor. Originally the image had been edited with MS Paint, then rotated a few degrees, reduced in size, and saved as .ico, with Irfanview. Is there a free, and easy, way to do the colour depth conversion please?
|
|
|
Post by cundo on Dec 23, 2019 22:47:20 GMT
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Dec 23, 2019 22:52:35 GMT
cundo, I did have a good play around with IrfanView and could not see a method, so would you spell out how to do that?
|
|
|
Post by Rod on Dec 24, 2019 9:15:18 GMT
If you are using Just BASIC I think you will need to conform to the 16Bit 32x32 pixel format. You can load other color depth and sizes but that requires API calls and is Liberty BASIC only. You might try Paint that ships with Windows. It can Save As in a variety of color depth and file types. 16Bit certainly. Another issue I have come across is that Windows can be a bit hesitant to actually show you the change. Be sure to close Just BASIC and your .exe. When you restart, Windows may see and show you the icon change. This is the icon tutorial on LBPE alycesrestaurant.com/lbpe/ChangingTheIcon.html
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Dec 24, 2019 9:48:02 GMT
Rod, yes I am using Just BASIC and the problem has indeed been over the format. As you said, Paint can save in 16Bit. unfortunately that spoils the original (borrowed and attributed) icon, at any size. I suppose that is because it destroys the shading which requires subtler colour variations so have just stuck with the results produced with icochange, which now usefully distinguishes the exe. and shortcut both in the main program folder and on desktop and give them a touch of personality.
At first the outcome with icochange was also in doubt because of the delay you mentioned for the icon editor.
The LBPE tutorial was interesting thank you. Still it would be nice to get the customised icon to appear in the page titles too...
|
|
|
Post by cundo on Dec 27, 2019 15:10:59 GMT
Stumpy, do you have the icon, can you upload it?
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Dec 27, 2019 16:16:53 GMT
Cundo, here is a link to the icon:-
|
|
|
Post by cundo on Jan 8, 2020 21:48:25 GMT
Hi stumpy I'm back, sorry for the long delay. To let JB open your icon file, first resize it to 32x32, then reduce the color depth, I used 8 colors. If you want to use higher color depths, then instead of using the internal icon editor to embed the icon, use another tool like the old classic ResHacker.
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Jan 9, 2020 10:31:47 GMT
Hi stumpy I'm back, sorry for the long delay. To let JB open your icon file, first resize it to 32x32, then reduce the color depth, I used 8 colors. If you want to use higher color depths, then instead of using the internal icon editor to embed the icon, use another tool like the old classic ResHacker. Thank you for the reply. I believe 'iconchanger' also uses ResHacker, which did let me embed the icon (link posted), as mentioned above.
Now it's only that I would like to show the customised icon, instead of that for JB, at the top of the screens displayed by the program as well. e.g. [JB icon] + the text: "Breeders Records v4.10 Young Section"
|
|
|
Post by tsh73 on Jan 9, 2020 13:54:12 GMT
I * created multi-form application in JB * made EXE * opened renamed JBRUN with ResHacker and changed icon (there was only one standard JB icon) => now I see changed EXE icon, changed taskbar icon, also icons on all forms are changed.
Windows 10 JB 1.01 (really expect JB2 to be the same)
|
|
stumpy
Member in Training
Posts: 66
|
Post by stumpy on Jan 9, 2020 15:43:56 GMT
I * created multi-form application in JB * made EXE * opened renamed JBRUN with ResHacker and changed icon (there was only one standard JB icon) => now I see changed EXE icon, changed taskbar icon, also icons on all forms are changed. Windows 10 JB 1.01 (really expect JB2 to be the same) Thanks, I persevered with ResHacker's controls and got the screens to show the custom icon everywhere.
Ionically, at least on the pages shown when the program when it's running, the original JB icon looks cleaner and its 'B' icon might just as well stand for breeders, so after all I shall to leave things as they were
|
|