tarfeef101 7093a7e095 readme update 6 yıl önce
..
.gradle ef1714862d changed to boxlayout for list cause why not 6 yıl önce
build ef1714862d changed to boxlayout for list cause why not 6 yıl önce
gradle 309edd87f6 a3 started code unzipped 6 yıl önce
src ef1714862d changed to boxlayout for list cause why not 6 yıl önce
README.md 7093a7e095 readme update 6 yıl önce
build.gradle 309edd87f6 a3 started code unzipped 6 yıl önce
gallery.gal fcb12515a2 don't need to do more than load images on reload, which this does. only need to fix star icons for images not loading and we are good for load/save 6 yıl önce
gradlew 309edd87f6 a3 started code unzipped 6 yıl önce
gradlew.bat 309edd87f6 a3 started code unzipped 6 yıl önce
model.gal fcb12515a2 don't need to do more than load images on reload, which this does. only need to fix star icons for images not loading and we are good for load/save 6 yıl önce
plan.txt b9aaf61074 change controls to be contextually relevant, added a plan.txt file to show the design plan 6 yıl önce
settings.gradle 309edd87f6 a3 started code unzipped 6 yıl önce

README.md

CS 349 A3 - Gallery, But Worse (aka Fotag!)

This is a simple gallery-esque app to load in and view photos, and add ratings to them. You can also toggle filters for images greater than or equal to a given rating (out of 5 stars). You can toggle between a spacious list layout, or a more condensed grid layout.

Getting Started

Notes

  • Image size/aspect ratio: all images are scaled to a square aspect ratio, although any can be selected
  • Images should be in a format compatible with https://docs.oracle.com/javase/10/docs/api/java/awt/Image.html on your system.
  • This was built and tested on Debian Stretch using XFCE with Gradle 4.7 and openJDK 10.0.1
  • That being said, given what I've seen, these tend to look better on "fancier" OSes/window managers.
  • Load/Save is as instructed: loads/saves images/metadata as long as the filepath is the same. Other data such as ratings is not retained.

Controls

  • Layout: Click the grid or list icon in the top left to switch to that view
  • Filtering by Rating: In the top bar, click on the amount of stars you wish to be the minimum, or click the current selection to reset to zero.
  • Rating an Image: Use the same system as above
  • Viewing a popout image: simply click on an image to open a popup view of it, then simply close it like any window to dismiss it.

Deployment

Run "java Main" in build/classes/java/main, or "./gradlew run" in the root directory if you do not have gradle installed, and if you do "gradle run" should suffice.

Authors

  • Tareef Dedhar - All work