1. New picture file viewer now available...w/SlideShow

Hello,

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.


Have fun and take care,
Al

And, good luck with your Euphoria programming!

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

new topic     » topic index » view message » categorize

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

Al Getz wrote:
> 
> For anyone interested there's now a new picture file viewer available in
> the archives.

Al, this crashes for me because it's missing "MinimizeConsole.ew."

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

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

cklester wrote:
> 
> Al Getz wrote:
> > 
> > For anyone interested there's now a new picture file viewer available in
> > the archives.
> 
> Al, this crashes for me because it's missing "MinimizeConsole.ew."
> 
> -=ck
> "Programming in a state of EUPHORIA."
> <a
> href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
> 

Hi there,

Sorry ck, dumb oversight on my part.  I'll fix it and submit it to the
archive site again, and maybe start work on a short dependency checker.
In the mean time if you want to try it before the correction gets to
the archives, rem out the following two lines in EuViewer.exw:

391: include MinimizeConsole.ew
and
396: boola=SetConsoleWindowTitle("Eu Viewer Console")

so they look like this (of course):

391: --include MinimizeConsole.ew
and
396: --boola=SetConsoleWindowTitle("Eu Viewer Console")

The program will run, it just wont minimize the console smile
I was planning to remove that anyway as the new program can
run without a console and one doesnt open up anyway.


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 message » categorize

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

On Tue, 07.06.2005, at 01:11, Al Getz wrote:

> 
> cklester wrote:
> > 
> > Al Getz wrote:
> > > 
> > > For anyone interested there's now a new picture file viewer available in
> > > the archives.
> > 
> > Al, this crashes for me because it's missing "MinimizeConsole.ew."
> > 
> > -=ck
> > "Programming in a state of EUPHORIA."
> > <a
> > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
> > 
> 
> Hi there,
> 
> Sorry ck, dumb oversight on my part.  I'll fix it and submit it to the
> archive site again, and maybe start work on a short dependency checker.
> In the mean time if you want to try it before the correction gets to
> the archives, rem out the following two lines in EuViewer.exw:
> 
> 391: include MinimizeConsole.ew
> and
> 396: boola=SetConsoleWindowTitle("Eu Viewer Console")
> 
> so they look like this (of course):
> 
> 391: --include MinimizeConsole.ew
> and
> 396: --boola=SetConsoleWindowTitle("Eu Viewer Console")
> 
> The program will run, it just wont minimize the console smile
> I was planning to remove that anyway as the new program can
> run without a console and one doesnt open up anyway.

Hi Al,

Thanks, very good thing, without bells and whistles, I like it.

Works for me with new bilingual exw_r.exe (thanks Rob, I'll test
this interpreter more and submit it in a few days).

The only minor issue - the jpg-files may have two different
extentions - old good just ".jpg" and new extra good ".jpeg".

Your program does understand both, but doesn't see *.jpeg
files, when Jpeg mode is chosen.

Ok?

Good Luck!

Regards,
Igor Kachan
kinz at peterlink.ru

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

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

Igor Kachan wrote:
> 
> On Tue, 07.06.2005, at 01:11, Al Getz wrote:
> 
> > 
> > cklester wrote:
> > > 
> > > Al Getz wrote:
> > > > 
> > > > For anyone interested there's now a new picture file viewer available in
> > > > the archives.
> > > 
> > > Al, this crashes for me because it's missing "MinimizeConsole.ew."
> > > 
> > > -=ck
> > > "Programming in a state of EUPHORIA."
> > > <a
> > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
> > > 
> > 
> > Hi there,
> > 
> > Sorry ck, dumb oversight on my part.  I'll fix it and submit it to the
> > archive site again, and maybe start work on a short dependency checker.
> > In the mean time if you want to try it before the correction gets to
> > the archives, rem out the following two lines in EuViewer.exw:
> > 
> > 391: include MinimizeConsole.ew
> > and
> > 396: boola=SetConsoleWindowTitle("Eu Viewer Console")
> > 
> > so they look like this (of course):
> > 
> > 391: --include MinimizeConsole.ew
> > and
> > 396: --boola=SetConsoleWindowTitle("Eu Viewer Console")
> > 
> > The program will run, it just wont minimize the console smile
> > I was planning to remove that anyway as the new program can
> > run without a console and one doesnt open up anyway.
> 
> Hi Al,
> 
> Thanks, very good thing, without bells and whistles, I like it.
> 
> Works for me with new bilingual exw_r.exe (thanks Rob, I'll test
> this interpreter more and submit it in a few days).
> 
> The only minor issue - the jpg-files may have two different
> extentions - old good just ".jpg" and new extra good ".jpeg".
> 
> Your program does understand both, but doesn't see *.jpeg
> files, when Jpeg mode is chosen.
> 
> Ok?
> 
> Good Luck!
> 
> Regards,
> Igor Kachan
> kinz at peterlink.ru
> 
> 

Hi there Igor,

Oh yes, good point.  I'll have to add that extension in the list.
Now that you mention it, there may be a few other lacking also,
like ".tiff".

Good luck to you too smile


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 message » categorize

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

Checked out your viewer2, looks good.

I think you should add that gray window I had in mine so you can select
 the kind of sort (random or numerical) and the timer speed before you start the
 your slide show.

I re-did my slideshow to eliminate that getQueStatus that I
was having such a hassle with and used a Timer instead.

I can e-mail you my updated version if you like.
Although I haven't implemented the time feature yet, just the sorts.

Don Cole
SF

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

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

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?

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

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

don cole wrote:
> 
> Checked out your viewer2, looks good.
> 
> I think you should add that gray window I had in mine so you can select
>  the kind of sort (random or numerical) and the timer speed before you start
>  the
>  your slide show.
> 
> I re-did my slideshow to eliminate that getQueStatus that I
> was having such a hassle with and used a Timer instead.
> 
> I can e-mail you my updated version if you like.
> Although I haven't implemented the time feature yet, just the sorts.
> 
> Don Cole
> SF
> 

Hi there Don,

Yes you're right...i should add a box to allow the user to set
the timer period and whatever else...just didnt get to it mostly
because i dont use slide show very often.  I end up adding things
that i use first and other stuff later.
Thanks for the idea anyway...

So you switched to a timer after all...well that's probably better
anyway.

You could always upload your viewer to the archive too right?


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 message » categorize

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

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 message » categorize

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

On Wed, 08 Jun 2005 19:42:29 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

<snip>
>the only reference i know of is on the Microsoft site, MSDN, as you said.
On a hunch I hunted down Opera 6.04, which is about 3 years old, and
runs fine bar a few display glitches, so I'm happy now.

>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)
Is it?
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=EuViewer
says not.

>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 
<snip>

I agree that is not particularly serious. Notifying the user when an
error is detected suffices, especially with a remedy to hand.

Regards,
Pete

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

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

Al Getz wrote:
> 
> don cole wrote:
> > 
> > Checked out your viewer2, looks good.
> > 
> > I think you should add that gray window I had in mine so you can select
> >  the kind of sort (random or numerical) and the timer speed before you start
> >  the
> >  your slide show.
> > 
> > I re-did my slideshow to eliminate that getQueStatus that I
> > was having such a hassle with and used a Timer instead.
> > 
> > I can e-mail you my updated version if you like.
> > Although I haven't implemented the time feature yet, just the sorts.
> > 
> > Don Cole
> > SF
> > 
> 
> Hi there Don,
> 
> Yes you're right...i should add a box to allow the user to set
> the timer period and whatever else...just didnt get to it mostly
> because i dont use slide show very often.  I end up adding things
> that i use first and other stuff later.
> Thanks for the idea anyway...
> 
> So you switched to a timer after all...well that's probably better
> anyway.
> 
> You could always upload your viewer to the archive too right?
> 
> 
> Take care,
> Al
> 
> And, good luck with your Euphoria programming!
> 
> My bumper sticker: "I brake for LED's"
> 

I guess I'll do that my version is based on euviewer and I'll probably

leave it at that. It's not finished because I'm working on other things

right now. I'll finish and upload in due time giving you full credit of 

course.

Don Cole 
SF

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

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

Pete Lomax wrote:
> 
> On Wed, 08 Jun 2005 19:42:29 -0700, Al Getz <guest at RapidEuphoria.com>
> wrote:
> 
> <snip>
> >the only reference i know of is on the Microsoft site, MSDN, as you said.
> On a hunch I hunted down Opera 6.04, which is about 3 years old, and
> runs fine bar a few display glitches, so I'm happy now.
> 
> >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)
> Is it?
> <a
> href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=EuViewer">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=EuViewer</a>
> says not.
> 
> >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 
> <snip>
> 
> I agree that is not particularly serious. Notifying the user when an
> error is detected suffices, especially with a remedy to hand.
> 
> Regards,
> Pete
> 
> 

Hi there Pete,

Oh ok, well that means RDS decided to *replace* EuViewer with
EuViewer2, even though the two are very different viewers
internally.  What i could do is zip the older version and add it
to the EuViewer2 zip and resubmit to the archive...at least 
the old copy (with the converter) will still be available.
I had pre-read don's reply and he had said that he intended to
upload his viewer, which is a spinoff of the first viewer 'EuViewer'
so that will supply the converter also.
If you use another paint program that should work too as you
found out already i think.

Yes, not a serious issue, but i was thinking of reverting to
the older decompressor on error (sort of an overkill probably
though he he).


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 message » categorize

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

don cole wrote:
> 
> Al Getz wrote:
> > 
> > don cole wrote:
> > > 
> > > Checked out your viewer2, looks good.
> > > 
> > > I think you should add that gray window I had in mine so you can select
> > >  the kind of sort (random or numerical) and the timer speed before you
> > >  start the
> > >  your slide show.
> > > 
> > > I re-did my slideshow to eliminate that getQueStatus that I
> > > was having such a hassle with and used a Timer instead.
> > > 
> > > I can e-mail you my updated version if you like.
> > > Although I haven't implemented the time feature yet, just the sorts.
> > > 
> > > Don Cole
> > > SF
> > > 
> > 
> > Hi there Don,
> > 
> > Yes you're right...i should add a box to allow the user to set
> > the timer period and whatever else...just didnt get to it mostly
> > because i dont use slide show very often.  I end up adding things
> > that i use first and other stuff later.
> > Thanks for the idea anyway...
> > 
> > So you switched to a timer after all...well that's probably better
> > anyway.
> > 
> > You could always upload your viewer to the archive too right?
> > 
> > 
> > Take care,
> > Al
> > 
> > And, good luck with your Euphoria programming!
> > 
> > My bumper sticker: "I brake for LED's"
> > 
> 
> I guess I'll do that my version is based on euviewer and I'll probably
> 
> leave it at that. It's not finished because I'm working on other things
> 
> right now. I'll finish and upload in due time giving you full credit of 
> 
> course.
> 
> Don Cole 
> SF
> 
Hi Don,

Oh ok that's great, especially since it looks like RDS trashed the
older viewer once i uploaded the newer one (ie EuViewer2).  I was
telling Pete he could get the jpg decompressor and geeze it's not
even on the archive site anymore!

Oh yeah BTW, if you add your new code to the newer version (EuViewer2)
you'll be able to view lots of picture formats including jpg, gif, ico,
bmp, tif, png, etc., etc.


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 message » categorize

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

Al Getz wrote:
> Oh ok, well that means RDS decided to *replace* EuViewer with
> EuViewer2, even though the two are very different viewers
> internally.

Sorry about that. I thought EuViewer2 was an enhanced superset
of Euviewer. The description is gone, but the
zip file is still on the site at:

http://www.rapideuphoria.com/dj.zip

> What i could do is zip the older version and add it
> to the EuViewer2 zip and resubmit to the archive...at least 
> the old copy (with the converter) will still be available.

Feel free to resubmit it, or merge it with Euviewer2.
It will actually be easier if you submit it, than if I try to 
patch things up.

Thanks,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

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

Robert Craig wrote:
> 
> Al Getz wrote:
> > Oh ok, well that means RDS decided to *replace* EuViewer with
> > EuViewer2, even though the two are very different viewers
> > internally.
> 
> Sorry about that. I thought EuViewer2 was an enhanced superset
> of Euviewer. The description is gone, but the
> zip file is still on the site at:
> 
> <a
> href="http://www.rapideuphoria.com/dj.zip">http://www.rapideuphoria.com/dj.zip</a>
> 
> > What i could do is zip the older version and add it
> > to the EuViewer2 zip and resubmit to the archive...at least 
> > the old copy (with the converter) will still be available.
> 
> Feel free to resubmit it, or merge it with Euviewer2.
> It will actually be easier if you submit it, than if I try to 
> patch things up.
> 
> Thanks,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
> 


Hi there Rob,


Oh ok, no problem...i'll merge it with the new one and upload again.


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 message » categorize

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

Al Getz wrote:
> 
> don cole wrote:
> > 
> > Al Getz wrote:
> > > 
> > > don cole wrote:
> > > > 
> > > > Checked out your viewer2, looks good.
> > > > 
> > > > I think you should add that gray window I had in mine so you can select
> > > >  the kind of sort (random or numerical) and the timer speed before you
> > > >  start the
> > > >  your slide show.
> > > > 
> > > > I re-did my slideshow to eliminate that getQueStatus that I
> > > > was having such a hassle with and used a Timer instead.
> > > > 
> > > > I can e-mail you my updated version if you like.
> > > > Although I haven't implemented the time feature yet, just the sorts.
> > > > 
> > > > Don Cole
> > > > SF
> > > > 
> > > 
> > > Hi there Don,
> > > 
> > > Yes you're right...i should add a box to allow the user to set
> > > the timer period and whatever else...just didnt get to it mostly
> > > because i dont use slide show very often.  I end up adding things
> > > that i use first and other stuff later.
> > > Thanks for the idea anyway...
> > > 
> > > So you switched to a timer after all...well that's probably better
> > > anyway.
> > > 
> > > You could always upload your viewer to the archive too right?
> > > 
> > > 
> > > Take care,
> > > Al
> > > 
> > > And, good luck with your Euphoria programming!
> > > 
> > > My bumper sticker: "I brake for LED's"
> > > 
> > 
> > I guess I'll do that my version is based on euviewer and I'll probably
> > 
> > leave it at that. It's not finished because I'm working on other things
> > 
> > right now. I'll finish and upload in due time giving you full credit of 
> > 
> > course.
> > 
> > Don Cole 
> > SF
> > 
> Hi Don,
> 
> Oh ok that's great, especially since it looks like RDS trashed the
> older viewer once i uploaded the newer one (ie EuViewer2).  I was
> telling Pete he could get the jpg decompressor and geeze it's not
> even on the archive site anymore!
> 
> Oh yeah BTW, if you add your new code to the newer version (EuViewer2)
> you'll be able to view lots of picture formats including jpg, gif, ico,
> bmp, tif, png, etc., etc.
> 
> 
> Take care,
> Al
> 
> And, good luck with your Euphoria programming!
> 
> My bumper sticker: "I brake for LED's"
> 


My slideshow isn't really complete yet But I'm going to upload your old version
anyway because there seems to be some interest.

My Deluxe slide show will follow much later.

Don Cole 
Sf

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

Search



Quick Links

User menu

Not signed in.

Misc Menu