Learn how to program in PureBasic. Follow the development step by step of a simple image processing application.
In this episode, I add the Batch Resize feature. I create a Batch menu with a Resize... entry. It opens a child window that lets the user choose the folder path (StringGadget and PathRequester), the recursiveness (CheckBoxGagdet), the enforce dimension (OptionGadget and StringGadgets) and a progress bar (ProgressBarGadget).
The two main procedures of this episode are the GetImages(...) and BatchResize(...). The GetImages works recursively to return the list of images to resize. The BatchResize iterates through the list, resizes the images and updates the GUI.
In this episode, I also pick the winner of the 100 subscribers T-shirt giveaway.
Download the code from this episode at https://bit.ly/2WE68CL
The PureBasic Cheat Sheet (v1)
https://pure-programming.com/download...
Pure Programming blog
https://pure-programming.com
Facebook
/ pureprogramming
Follow me on Instagram at @pure.programming
Download PureBasic at http://www.purebasic.com/pp
Support the channel with some Merchandising
EU : shop.spreadshirt.net/pure-programming
US : shop.spreadshirt.com/pure-programming