File Tab - SafetyFlux/captchalogue GitHub Wiki

The first toolbar category is 'File', which houses all the functions that involve dealing with files.

Pressing the 'New' button will bring up a dialog box asking if you want to reset. Selecting 'Yes' will revert all codes back to 00000000 and unpunch all the holes.

Reset Codes

The 'Save Card as Image' button does exactly what it says: it saves the main card as an image.

Save Button

Clicking on this will first bring up a file selection menu, where you can select an image (PNG or JPG) to use as the symbol. This starts in the program's 'images' directory. Clicking 'Cancel' will leave the symbol blank.

Choose Symbol

Next, you'll be prompted for a filename. Clicking 'Cancel' this time will set the filename to "card" by default.

Choose Filename

In order to confirm the saved image is what you want, a preview is shown.

Card Preview

Once 'Save' is selected, a dialog box confirms the action.

Save Confirmation

If you select 'Cancel', the process will be canceled and a dialog box will let you know.

Save Cancellation

If you look in your 'saves' folder, you should find the saved image. If no 'saves' folder exists, the program will make it for you.

Successful Save

This feature allows you to create images of captchalogue cards with the desired holes and symbol. The saved image also has no background, so the top right corner shouldn't be a problem.