Some Questions...
Some Questions...
- Subject: Some Questions...
- From: Jerry LeVan <email@hidden>
- Date: Sat, 19 Jun 2004 22:45:54 -0400
Hi,
I have been "playing" with a simple image viewer application
trying to learn about cocoa images.
The app can ask for a directory from a user, it then creates
a thumbnail of every graphic that the appkit understands and
displays them in a scrolling list. Clicking on a thumb causes
the image to be shown is a larger frame with a zoom slider
for controlling the size.
Thanks to John Pannell's code snippets, the thumbs can be
constructed in such a way that memory is not entirely consumed :)
I am processing the thumbs in a "tight" loop. Watching "top" while
the program grinds away processing the images into thumbs I can
watch the VM size growth to over 1GIG, this slows things down as
swapping/paging activity increases.
After the thumbs are processed memory usage drops to a very acceptable
level.
I think the problem is that "released" images don't get claimed in
a timely manner...
***********
Is there a "simple" strategy for dealing with this problem? ( I have
yet to use threads in Cocoa...).
***********
I would like to show each image in a slide show, I can see how to do
the task in the current app fairly easily with a timer. But I
want more :)
************
I would like to display each of the images in "full screen" mode. I
found
a code snippet on mamasan but I need a more complete discussion/example.
Does anyone know of some resources that shed a bit of light on how to
do full screen image display?
************
Saturday night is probably a bad night to post an info request, but
nowadays, for me, every night is saturday night.
Jerry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.