tarfeef101 7093a7e095 readme update hace 6 años
..
.gradle ef1714862d changed to boxlayout for list cause why not hace 6 años
build ef1714862d changed to boxlayout for list cause why not hace 6 años
gradle 309edd87f6 a3 started code unzipped hace 6 años
src ef1714862d changed to boxlayout for list cause why not hace 6 años
README.md 7093a7e095 readme update hace 6 años
build.gradle 309edd87f6 a3 started code unzipped hace 6 años
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 hace 6 años
gradlew 309edd87f6 a3 started code unzipped hace 6 años
gradlew.bat 309edd87f6 a3 started code unzipped hace 6 años
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 hace 6 años
plan.txt b9aaf61074 change controls to be contextually relevant, added a plan.txt file to show the design plan hace 6 años
settings.gradle 309edd87f6 a3 started code unzipped hace 6 años

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