that I would like to say, there is a good (or maybe not) bootstrap framework that can generate buttons with simple code.
I really like how these buttons look, and I want to use them in another software, but for this I need them in PNG format.
Why is not satisfied with the option “manually” – the buttons need a lot and not always needed, but when needed – they need fast, do not really want to spend a lot of time creating buttons …
Current process:
-
Open page (for example https://www.tutorialrepublic.com/twitter-bootstrap-button-generator.hhp) to set the necessary parameters (button name, size, type, color, icon …)
-
Copy the whole screen to the buffer
-
Insert a screenshot from the buffer into an image editor
-
Make necessary cropping of this picture, leave only the image of the button itself
- Save the result in png format
- Use the image in your application.
That I would like to receive:
- Open (no difference – internet page, any software, etc…)
- Specify the required parameters (button text, size, color, icon)
- Press the button – save to PNG, without loss of quality.
- Use the image in your application
Maybe someone already solved a similar problem and translated it into a semi-automatic mode, share the implementation.
I use Win10 at workstation
2
Answers
Ok, solution found - ShareX (https://getsharex.com/) software with 1 hotkey (ctrl + printscreen) - open crop dialog with zoom, after crop - makes the png-file automatic
The easiest way would be to manually crop them by Snipping Tool. This works great if you have just a few buttons.
But if you want to take them automatically, I think you can use an python/opencv script to idendify buttons, crop and save them.