1. Suggestions Please - Slide Show/Image Management

Hi,
Today I wrote a program, using GD and Win32Lib, which allows you to scroll
 through all the images in the current directory (GIFs and JPGs pnly, but in
 theory any that GD support) and do several things;
 - Rotate by 90 degrees clockwise and anticlockwise
 - Move to a 'Deleted' Folder.

It all works, but i've hit a problem - its so slow when you put it in a folder
with 140 pictures - I hope to use it with alot more. Basically, at the beginning
the prgram asks GD to load all the images, which I'm guessing is the problem. A
sequence stores the name of the Image and the handle to the image, any ideas on
how I could change this not to load all images?

Thanks,
 Alex

new topic     » topic index » view message » categorize

2. Re: Suggestions Please - Slide Show/Image Management

Alex Chamberlain wrote:
> 
> Hi,
>  Today I wrote a program, using GD and Win32Lib, which allows you to scroll
> through all the images in the current directory (GIFs and JPGs pnly, but in
> theory any that GD support) and do several things;
>  - Rotate by 90 degrees clockwise and anticlockwise
>  - Move to a 'Deleted' Folder.
> 
> It all works, but i've hit a problem - its so slow when you put it in a folder
> with 140 pictures - I hope to use it with alot more. Basically, at the
> beginning
> the prgram asks GD to load all the images, which I'm guessing is the problem.
> A sequence stores the name of the Image and the handle to the image, any ideas
> on how I could change this not to load all images?
> 
> Thanks,
>  Alex

Hello Alex ,
 
  Have seen my Deluxe Slide Show3.

http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=deluxe+slideshow3

It does everything you suggested above except 90 degree rotation.

Seen all file forms jpg, .gif, .bmp, .ico, .png, tif, .tiff, .wmf, .emf  are

converted to .bmp files before final showing, rotation should be easy using

win32dib.ew. I'll lookinto add that feature if you like.

By the way what is GD?

I haven't found any delay using up to 300 files.

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Suggestions Please - Slide Show/Image Management

Hi,
I've got it working now - it has a nice window etc, but can't do all the image
 types (yet).
I now only ever have 3 loaded and there was a mem leakage with gdtoDib - sorted
now!

GD is an imaging library - check the archive.

Thanks,
 Alex

Upload will come soon

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu