Learn Basic Programming by example - A Simple Image Processor - Part 10.1

Veröffentlicht am: 27 März 2020
auf dem Kanal: Pure Programming
381
14

Learn how to program in PureBasic. Follow the development step by step of a simple image processing application.

In this two-part episode, I add the Save and Save As features. I create a Save and a Save As... menu entry in the File menu. The Save menu saves the image back to its original file and format. The Save As menu opens a child window that lets the user choose the file path, the image format, and the (optional) compression level.
I also enabled or disabled the Save menu depending on whether the image has been modified or not.

To select the file, I use a SaveFileRequester. To check if the file exists, I use the FileSize command.

The first part of this episode is dedicated to refactoring the code, by using a structure to keep the image information.

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

Background video courtesy of youtubestock.com


Auf dieser Seite können Sie das Online-Video Learn Basic Programming by example - A Simple Image Processor - Part 10.1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Pure Programming 27 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 381 Mal angesehen und es wurde von 14 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!