Discarding photo fails with Go and Fyne

Nobody Is Perfect

This app is by no means perfect yet. I've heard that there are actually photographers out there who take pictures in portrait format, which would require a corresponding adjustment of the fixed window dimensions. Also, some cellphones are quirky about saving photos without rotation and only note the rotation specification in the Exif header of the JPEG photo. Corresponding adjustments can be made easily, as always with open source projects.

Infos

  1. "Programming Snapshot: Using the Electron Framework to Weed Out Images" by Mike Schilli, Linux Magazine, issue 216, November 2018, p. 46, https://www.linux-magazine.com/index.php/Issues/2018/216/Clever-Sampling
  2. "Program GUIs in Go with Fyne" by Markus Hoffmann, ADMIN, issue 66, 2021, pp. 26-29
  3. Listings for this article: ftp://ftp.linux-magazine.com/pub/listings/linux-magazine.com/254/
  4. Williams, Andrew. Building Cross-Platform GUI Applications with Fyne. Packt Publishing, January 2021, https://www.packtpub.com/product/building-cross-platform-gui-applications-with-fyne/9781800563162

The Author

Mike Schilli works as a software engineer in the San Francisco Bay Area, California. Each month in his column, which has been running since 1997, he researches practical applications of various programming languages. If you email him at mailto:mschilli@perlmeister.com he will gladly answer any questions.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • GUI Apps with Fyne

    The Fyne toolkit offers a simple way to build native apps that work across multiple platforms. We show you how to build a to-do list app to demonstrate Fyne's power.

  • Treasure Hunt

    A geolocation guessing game based on the popular Wordle evaluates a player's guesses based on the distance from and direction to the target location. Mike Schilli turns this concept into a desktop game in Go using the photos from his private collection.

  • Straight to the Point

    With the Fyne framework, Go offers an easy-to-use graphical interface for all popular platforms. As a sample application, Mike uses an algorithm to draw arrows onto images.

  • Chip Shot

    We all know that the Fyne framework for Go can be used to create GUIs for the desktop, but you can also write games with it. Mike Schilli takes on a classic from the soccer field.

  • Magic Cargo

    To be able to power up and shut down his NAS and check the current status without getting out of his chair, Mike Schilli programs a graphical interface that sends a Magic Packet in this month's column.

comments powered by Disqus