![]() Registered Member ![]()
|
Is there any way to rename brush tips (as opposed to brush presets) ? Even if they're renamed in the AppData\Roaming\krita\share\apps\krita\brushes folder in Windows, they still retain their old names in the brush editor.
Thanks, (c: |
![]() KDE Developer ![]()
|
The name of the brush is stored inside the .gbr or .gih file. Right now, we don't have a way to change this from within Krita, I'm afraid.
|
![]() Registered Member ![]()
|
Well that's a bit of a bother... my brush naming conventions have changed over time, so it's all a bit of a shambles now. Another one for the wishlist I guess!
(c: |
![]() Registered Member ![]()
|
I just had this problem. I didn't find anything on the web more useful than this topic. In doing trial & error I tried opening the .gbr in Krita (currently 4.1). It worked, and I was able to rename it (internally and externally) using Save As via the dialog that was displayed.
This made the brush preset that was using it not work, but that was fixable by changing the tip to the new version. Maybe I should have saved it as PNG. File formats that are editable by only a few odd programs are not so useful. Still learning Krita, mostly by trial & error. |
![]() Registered Member ![]()
|
You can open a .gbr file with GIMP and then export it as a .png file with any name you like then put it in the krita brushes folder and it will be presented with that name.
For a .gih file, you can open it in GIMP and then export it as a .gih file with any name and you are shown a metadata window that has various entries including 'Description'. The Description field is the one that krita uses for the presented name in the krita brush editor but you can search on the file name that you use. However, it would be sensible to have the file name and Description field as the same text. It seems like a lot of work just to rename some brush tips though. " File formats that are editable by only a few odd programs ...." .gbr is 'GIMP brush' and .gih is 'GIMP image hose' so it's not at all odd that GIMP is the program to use for manipulating these brushes. Since GIMP and its brushes are Open Source and have been around for many years, they are very useful for Krita. |
![]() Registered Member ![]()
|
I am on Windows and don't use Gimp. I use Photoshop, and know it reasonably well, plus several others. I don't have the resources or need to learn yet another image program, especially one as complex as Gimp. The good thing is that Krita itself now handles these files.
I have been looking at the Krita brush documentation in detail. This is the first I've seen that you can use a PNG file for a brush. Thanks. I will try it. It seems like what is needed is just an image, though, not whatever else is in the file (for non-animated brushes, anyway). For animated you need a file format that can contain several images. You could use layers for that, but the logic would have to be implemented in Krita. The same as is probably true for using PNG for GBR. |
![]() Registered Member ![]()
|
There are some issues saving GBR files in Krita, so that is probably why it is giving issues when you try to save it through Krita.
The main thing GBR and GIH files give you is multiple tips for one brush tip (animated brush tips). When I was making the current set for 4.0, I ended up having to go to GIMP to make all the animated brush tips. Normal brush tips are just normal image files like PNG. Krita just reads the file name, so that is just a matter of changing the file name. Underscore characters will be replaced with spaces. We had to do that since there was one OS that couldn't handle space characters. |
![]() Registered Member ![]()
|
I'm so used to using GIMP for .gbr and .gih brushes that I forgot that Krita can open them. I've just made a simple 3-layer animated brush in Krita and exported it as a .gih file and it worked fine when placed in the krita brushes folder. You can also open .gih files using krita and I suggest that you try that to have a look at them and to make your own.
As Scott says, there may be some issues but I didn't encounter any for the simple test I just did. For .gbr brushes you may as well export as .png and put them in the brushes folder. For simple image opening, examination, manipulation, and exporting, GIMP is not at all difficult to use and is in fact less complex and less comprehensive than krita, but it seems that you don't really need it ![]() |
![]() Registered Member ![]()
|
I didn't have any issues the one time I tried to save a GBR to rename it. It seemed to work well. I was also able to open a GIH file, and it appears as layers. I haven't tried to do anything with it. As discussed, it is not convenient for me to use Gimp, so this is good. I did try copying a PNG file to my brushes folder in AppData for krita. It did appear as a predefined brush, and works. Cool. In looking at the Krita_4_Default_Resources.bundle from Program Files, I do see that many of the brushes are, indeed, PNG files. The documentation (https://docs.krita.org/en/reference_manual/brushes/brush_settings/brush_tips.html?highlight=brush%20tip and others, some not up to date) does not seem to mention that you can use any image. It just indicates abr (two types) .gbr, and .gih. It would have been nice to know I could use PNG (in case I hadn't found this topic ![]() It is not exactly true that Krita just reads the file name. For GBR it uses the internal name, independently of the file name. That's what got me started on this. I made a brush using Stamp, and it ended up being named .gbr (no prefix) and the name displayed was something with a date in it. (Maybe I didn't specify a name when I should have? I don't know and haven't tried again.) Renaming it did not help. It seems like the internal names are used for GBR and GIH. In the Manage Resources panel, it displays brushes in bundles with both names for these two. So, I know a lot more than I did. Thanks to everyone. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]