I’m a complete newbie. I am basically an artist who has been using Photoshop since 2.5 and have always wanted a certain feature, and eventually decided to try making it myself. I have been stumbling for a month now, but the whole thing is working apart from one par (which maybe the most important UI part). I need to extract the BrushTip image from brushes in .abr and .tpl files which have been scanned in my plug-in and listed. The main issue is all the data is there and I can’t figure how to get the image to display.
Can anyone give insight into this? I have looked at the ABRViewer code on GitHub and the online image-viewer. Nothing has worked so I don’t know if I am doing anything wrong. I have found the UUID and the LUT but can’t parse or extract the info to make the PNG to display.
Thanks in advance
Any help would be valuable.
I’m not sure you understand my question. My plugin scans the ABR file and lists them on the panel I have created. It has the correct name, but can’t show the preview of the BrushTip which is stored in the ABR file. I have attached an image of the panel in BrushBox as an example of what I am looking for. I don’t want to create a brushTip from an image. I know how to do that. I want to be able to display existing BrushTip images from the ABR files I have in my Preset/Brushes folder.
Yes, I understood that. AFAIK it’s not possible, hence the workaround. I’d be glad to be wrong, because I also could make use of it, if it’s possible to get the brush shape directly. Maybe someone would jump in and post some other option
So, I’m happy to say after 2 weeks of hard work, I finally got the brushTip image to show. Thanks for those who pointed in the right direction to get the necessary info. This is step one, so now I have to test on other ABR files, and TPL and then implement it into the main plugin. But I am very happy that I got it this far!
Thanks. Just got to test it out and bug test on other ABR files and I can implement it in the main plug. I was happy with the UI and running of the teaser that I might just bundle it with the main plugin.
Hi Rob, when I last looked into this, one of the issues was the different ABR file versions, as they use different code structures. It will be interesting to see what you find with the newer, undocumented ABR/TPL versions.
Yep. I did this version based on one V6.2 ABR and it worked fine as in the image. Now I am bug testing on V10 and V6.2 and some things are popping up about file size and dimension. I am slowly working through them. The parser is based on open source I found in a python version of ABR viewer and it said it covers all the versions, even 1 and 2.