home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / Rhapsody / Graphics / ImageBrowser-1.0 / ImageBrowser.README < prev    next >
Encoding:
Text File  |  1998-01-12  |  2.4 KB  |  32 lines

  1. ImageBrowser
  2. ---------------------------------------------------
  3. I wrote this simple application as a test for some concepts as I was experimenting with Rhapsody.  I wanted to test the ability of NSImage to handle JPG and GIF images, and experiment with NSOutlineView.
  4.  
  5. Notes on Version 1.0
  6. ---------------------------------------------------
  7. - It seems to me that sometimes either NSImage or NSImage view are causing crashing type signals, but they are not raising errors!  From GDB
  8.     (gdb) run
  9.     Program received signal SIGABRT, Aborted.
  10.     0x5039e5c in kill ()
  11. I have included a GIF that seems to cause the error to repeat (annotatedPW.gif), but I have also had the file display without error???, only to crash when the window resizes.  I have another application that displays singular images (like OmniImageView.app), that uses my own image view class, and it does not have any trouble with this image. YMMV, comments welcome!
  12.  
  13. - For fun I have the up and down arrows attached to menu items, I could have caught the key down as part of the window event, but this seemed easier (that's the point right?).  Anyway, on my Intel machine this results in a double message (move up/down 2 images instead of one).  I had the delete image menu item set to the DEL key, but it was deleting 2 images ...
  14.  
  15. - the outline view works pretty much as expected, however I consistently get exceptions when I try to change the tree of objects.  For example, if I delete an image, I should reload the parent, .. right?  I have tried removing the tree node before and after removing the file, before and after calling "[outlineView reloadItem:parent]".  If anyone can correct this please send me the changes, I am tired of fighting with it.
  16.  
  17. Possible Future Enhancements
  18. -----------------------------------------------------
  19. - replace the image view with a switch view,  then flip in the correct view type for the file selected (text, rtf, m/h/c, ...).  Possibly do this with bundles so additional file formats can be easily added.  Not of any real practical value, but would be an interesting exercise in bundle design.
  20.  
  21. - replace the image view with a thumbnail matrix, so when you select a directory all the images in that directory display as thumbnails.
  22.  
  23. - have the up/down keys scan down the outline view to the next valid image.  (might be one row, might be 200)
  24.  
  25. - add a 'Find' panel to search for an image by name (size? directory?)
  26.  
  27.  
  28. Enjoy,
  29. David Aspinall
  30. daspinall@gects.ge.com
  31.  
  32.