Re: Small jpg manipulation library?
- From: "linnix" <me@xxxxxxxxxxxxxxxxxx>
- Date: 19 Jun 2006 12:39:21 -0700
Why reinvent the wheel? http://www.kevinboone.com/README_txt2jpg.html
It's java, but with this being a one-off, it doesn't really matter.
Java (jpeg Jre) is heavy. It's much easier to strip down jpeg lib.
We have about 150K binary so far. The following is an example
(for our dance teacher) for jpg resolution reductions. We want to
overlay both texts and images on it as well.
http://rumba.fine-arts.ws
-rw-r--r-- 1 root wheel 133 Jun 19 19:00 Makefile
-rw-r--r-- 1 root wheel 38603 Jun 19 19:02 a1.jpg
-rw-r--r-- 1 root wheel 24366 Jun 19 19:02 a2.jpg
-rw-r--r-- 1 root wheel 14051 Jun 19 19:05 b1.jpg
-rw-r--r-- 1 root wheel 14510 Jun 19 19:05 b2.jpg
-rw-r--r-- 1 root wheel 5353 Jun 19 19:05 c1.jpg
-rw-r--r-- 1 root wheel 5491 Jun 19 19:05 c2.jpg
-rw-r--r-- 1 root wheel 38 Jun 19 19:00 data
-rw-r--r-- 1 root wheel 604 Jun 19 19:06 index.html
-rwxr-xr-x 1 root wheel 124878 Jun 19 18:55 jpg
-rwxr-xr-x 1 root wheel 2635 Jun 19 19:29 main.php
-bash-2.05b# more Makefile
all:
./jpg -i a1.jpg -o b1.jpg -r 2
./jpg -i a2.jpg -o b2.jpg -r 2
./jpg -i b1.jpg -o c1.jpg -r 2
./jpg -i b2.jpg -o c2.jpg -r 2
.
- References:
- Small jpg manipulation library?
- From: Captain Dondo
- Re: Small jpg manipulation library?
- From: linnix
- Re: Small jpg manipulation library?
- From: Captain Dondo
- Re: Small jpg manipulation library?
- From: linnix
- Re: Small jpg manipulation library?
- From: Captain Dondo
- Re: Small jpg manipulation library?
- From: linnix
- Re: Small jpg manipulation library?
- From: Captain Dondo
- Re: Small jpg manipulation library?
- From: linnix
- Re: Small jpg manipulation library?
- From: Captain Dondo
- Small jpg manipulation library?
- Prev by Date: Re: Compact flash + IDE/CF adaptor + 486 ->problem
- Next by Date: Porting drivers for PCI card to single board chips connected by PCI bus?
- Previous by thread: Re: Small jpg manipulation library?
- Next by thread: Periodic Timer for 1 millisecond timer in linux kernel mode
- Index(es):
Relevant Pages
|
|