Keith
Right now I am working on creating a picture viewer aka pixel viewer for media tools.
Simple design as well will be used. After talking to Adam I'm going with x, y indices across the top, with RGB values right next to that. On the upper right corner there will be a magnifying window for the picture.
The actual picture viewer will be in a scrollpane to allow for long term usablity.
Email me: gte047w@cc.gatech.edu
I might get it if one day Comcast Internet actually works
Check out detailed progress at:
media tools in java
New Progress:
- Made adjustments to the files. I have tested the new JavaPicture in windows 2000 and linux. Both passed the tests, however, the show method now requires two arguments so it didn't pass there (part of the changes toby made)
- The pictureviewer is pretty much complete. The only problem i have run into is memory. I tried to do some garbage collection on my own, but the only remedy is the -Xmx flag. The 500% zoom might need to be taken out since on a file of only 50k it crashes because of memory. the 200% zoom seems to work up to about a file of size 200k. These problems might go away once it is compiled with the heap being 256, but it is very memory intensive.
- One last change I will make is to make a note on the menu which zoom level you are at. I also have begun tweaking the size of the opening window in relation to the size of the picture.
- as always feed back is welcome if you want anymore changes.
Here are the files:
JavaPicture.java
PictureViewer.java
It needs JavaPixel as well to run correctly.
The picture right after it opened:
200% Zoom with numbers and Pixel color locked:
500% zoom with scrollbars and zoom menu:
Links to this Page