Re: New picture file viewer now available...w/SlideShow

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> 
> On Mon, 06 Jun 2005 13:33:02 -0700, Al Getz <guest at RapidEuphoria.com>
> wrote:
> 
> >For anyone interested there's now a new picture file viewer available in
> >the archives.  It can display lots of picture file formats (jpg, gif, etc)
> >and comes complete with all source files.  It has other features too
> >like Slide Show and can go through a directory structure in various ways.
> >Shouldnt be too hard to modify for your own use either, and it's a good
> >example of interfacing to the GdiPlus library for file/picture display.
> Very nice. I've just ported it, in outline and much simplified, to
> arwen (because as you know I like arwen), and added some crude zoom
> and pan features, which really impressed me, even at the first stab,
> much better than those in Acdsee32, which afaik is highly regarded.
> 
> >don cole wrote:
> >I think you should add that gray window I had in mine
> Can't find that...
> >I can e-mail you my updated version if you like.
> If possible, can you email it to me?
> 
> I don't suppose there is a .hlp or .chm file covering gdiplus.dll
> anywhere? (I find msdn tortuously slow and extremely buggy, as in
> makes my crappy PC die alot). I would like to "buffer" the next image,
> (ideally interruptable) and/or build thumbnails... If not, don't
> worry; guess I'll figure it out in 10..20 reboots or so ;-((
> 
> Regards,
> Pete
> PS as "Search Mode" is "no longer used" (and I spotted that both 
> onClick_MenuItem_SearchMode() and onClick_MenuItem_SlideShow()
> pass an 's' rather than one an 's' and one an 'S'), you shd remove it?
> 
> 

Hi Pete,

Oh so you added some features already smile
I was hoping people would get some use out of it and that there
was enough there to at least form a good base picture viewer.
I didnt add too many features myself because i dont really need them
that much, but since i included all the source you can add anything you
think it needs to make it a better viewer.

The GdiPlus library was added to the archives not too long ago, and
i dont remember right offhand but that version might have better
notes -- all the original C declarations are right there in the .ew
file so you can immediately see what all the variables are doing.
As far as understanding the overall operation of the GdiPlus lib
the only reference i know of is on the Microsoft site, MSDN, as you said.
I'd try to create a help file but with so many functions it would be
quite an undertaking...the lib itself even without detailed doc's
wasnt exactly a breeze due to the shear number of functions...and so there
ends up being quite a bit of work to get done, sorry.  If i can think
of a not-too-time-consuming way to create a help file in the future
i'll add it to the archived lib.

Buffering the next image was my next area of interest too, as the slight
flicker between images isnt something i like that much either, and i had
solved that problem in my previous viewer (EuViewer.exw, also in the
archive) but hadnt spent any time looking into it yet for the new one.
It's probably as simple as taking out another graphics object and
not getting rid of the old one until after the new one is displayed
(or something like that smile

One other interesting note about the new viewer...
Because it uses the GdiPlus lib to unravel the jpg files there is a chance
that a corrupt jpg file wont be viewable, even if the older viewer can
open it.  This is because it looks like the code writers of the lib
didnt take JPG restart markers into account when they wrote the code,
so some corrupt jpgs, even though they have restarts, wont 'restart'
because GdiPlus wont allow it.  The old viewer used my own personal
jpg decompressor and it worked with the restarts so it will open some
jpgs that wont open with GdiPlus.  Lucky though, there arent that many
jpgs out there that are corrupt, although i run into one now and then.
If you happen to have one that doesnt open you can use the .exe file
that comes with my older viewer to rewrite the file to another format,
or you could always open it with another viewer and then save it 
again (after possibly some editing).



Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu