Greetings.
In article <39**************************@posting.google.com >, jock wrote:
Is it possible to perform basic image manipulation through C? I'd like
to upload images through a web interface and resize them so they are
limited to a max height/width restriction.
You certainly can, except for the uploading part. Since C contains no
built-in support for manipulating JPEGs, though, you'll probably find it
more convenient to find a third-party graphics library. Otherwise you'll
need to read up on graphics algorithms and the JPEG specification. Simply
open each JPEG as a binary file, read in the data into the appropriate data
structures, do whatever matrix operations you need to resize the image, and
write the data back out. If you're also writing the web interface, there's
a more-or-less standard C library out there by the name of cgic.
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\
http://www.nothingisreal.com/ >< To finish what you