1. Jpeg converter anyone?

Hi All,
Has anyone written a routine for showing JPG files that they would like to 
share.
I have looked in the archives and found jgpdecom and dj programs. These use 
ALS_DJ.exe to decompress jpg files to bmp which would be fine. So I used 
this to decompress files to temp.bmp and displayed this, the only problem 
is a black dos window pops up and disappears destroying part of the picture.

Regards
Tony Steward


Come Visit Me At www.locksdownunder.com

Give your hardest tasks to the laziest workers,
as they will find the easiest way to complete it.

new topic     » topic index » view message » categorize

2. Re: Jpeg converter anyone?

Hi All,
Sorry I was obviously not clear enough, My application will contain 200+ 
small graphic files. At the moment they are bmp files and at about 25kb 
each. When I convert them to jpg they only take about 5kb. This is a saving 
too large to ignore, so I thought if someone had a eu conversion prog then 
I would simply convert the jpg to be displayed, to a file called temp.bmp 
which would be continuously over written as bmp's are easy to use in eu.

Thanks
Tony

>Has anyone written a routine for showing JPG files that they would like to 
>share.
>I have looked in the archives and found jgpdecom and dj programs. These 
>use ALS_DJ.exe to decompress jpg files to bmp which would be fine. So I 
>used this to decompress files to temp.bmp and displayed this, the only 
>problem is a black dos window pops up and disappears destroying part of 
>the picture.
>
>Regards
>Tony Steward
>
>
>Come Visit Me At www.locksdownunder.com
>
>Give your hardest tasks to the laziest workers,
>as they will find the easiest way to complete it.
>
>
>

Regards
Tony Steward


Come Visit Me At www.locksdownunder.com

Give your hardest tasks to the laziest workers,
as they will find the easiest way to complete it.

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

3. Re: Jpeg converter anyone?

Tony Steward wrote:

> I would simply convert the jpg to be displayed, to a file
> called temp.bmp which would be continuously over written
> as bmp's are easy to use in eu.

Al Getz has a couple of programs in the archives. One has the complete
source code, but needs a bit of wrapping to make it work. The other relies
on a .EXE to do the work.

-- David Cuny

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

4. Re: Jpeg converter anyone?

Hi Tony,

> Sorry I was obviously not clear enough, My application will contain 200+ 
> small graphic files. At the moment they are bmp files and at about 25kb 
> each. When I convert them to jpg they only take about 5kb. This is a
saving 
> too large to ignore, so I thought if someone had a eu conversion prog
then 
> I would simply convert the jpg to be displayed, to a file called temp.bmp

> which would be continuously over written as bmp's are easy to use in eu.

You can use *any* compression method in this your case,
say, zip or huf or arj or somewhat else.
Then you'll be sure your image is same bmp without
any transformation of quality. Jpg is very good for the 
photos, but is not so good for the precise images.

I have tried http://www.rapideuphoria.com/huff.zip

My file.bmp 72K was compressed into 12K huff.out
and decompressed without any distortions.


Regards,
Igor Kachan
kinz at peterlink.ru

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

5. Re: Jpeg converter anyone?

First, if it's possible (if the images will never be changed), your images
should be all contained within one image file, regardeless of what format
you use. If the format you use has image compressionand isn't truecolor, you
can save quite a bit of space by doing that alone.. as there won't be a need
for a color table for each image. Also, any colors that are duplicated  in
different images, won't need a new color table reference.
As with any compression scheme, the largergreater the amount of data to
compress, the greater the compression ratio.

Second, jpegs take relatively long to load.. if the images are small, and
image quality isn't very significant, I'd suggest GIF format. The
compression will be just as good if not better than JPG, and load times are
at least 3 times as fast.
The GIF quality isn't great, but it's not very noticable in small images.

You can also reduce the size of the images, if you convert them to 8bit
images, if they aren't already.

Chris

> Hi All,
> Sorry I was obviously not clear enough, My application will contain 200+
> small graphic files. At the moment they are bmp files and at about 25kb
> each. When I convert them to jpg they only take about 5kb. This is a
saving
> too large to ignore, so I thought if someone had a eu conversion prog then
> I would simply convert the jpg to be displayed, to a file called temp.bmp
> which would be continuously over written as bmp's are easy to use in eu.
>
> Thanks
> Tony
>
> >Has anyone written a routine for showing JPG files that they would like
to
> >share.
> >I have looked in the archives and found jgpdecom and dj programs. These
> >use ALS_DJ.exe to decompress jpg files to bmp which would be fine. So I
> >used this to decompress files to temp.bmp and displayed this, the only
> >problem is a black dos window pops up and disappears destroying part of
> >the picture.
> >
> >Regards
> >Tony Steward
> >
> >
> >Come Visit Me At www.locksdownunder.com
> >
> >Give your hardest tasks to the laziest workers,
> >as they will find the easiest way to complete it.
> >
> >
> Regards
> Tony Steward
>
>
> Come Visit Me At www.locksdownunder.com
>
> Give your hardest tasks to the laziest workers,
> as they will find the easiest way to complete it.
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu