libjpeg

Installing PIL on Snow Leopard -- NOTHING WORKS

I'm trying to install PIL on Snow Leopard, using Python 2.6.1, GCC 4.2.1, PIL 1.1.7, and have tried with both libjpeg6b and libjpeg7 -- nothing works. I've cleared out every trace of libjpeg/pil/zlib from fink, tried various compiler options, etc. and used http://jetfar.com/libjpeg-and-python-imaging-pil-on-snow-leopard/ and http:// www....

Libjpeg: setting DCT coefficients

Hi, I need to modify a DCT Coefficient for an application of steganography in C language. Is there any easy way to do it? Thanks a lot. ...

Can I execute sudo make install twice from different locations?

I am on Mac, Snow Lepard. In preparation to install PIL I need to install libjpeg. So, from my home directory I did: tar zxvf jpegsrc.v6b.tar.gz cd jpeg-6b cp /usr/share/libtool/config/config.sub . cp /usr/share/libtool/config/config.guess . ./configure --enable-shared --enable-static make sudo make install But actually I read later...

Can I read a specific image row using libjpeg?

Using libjpeg, if possible, I would like to read a row from the middle of a JPEG image without reading all the preceding rows. Can this be done? ...

how to convert 16-bit RGB Frame Buffer to a viewable format?

I'm working with someone else's code on a device which can put an image to /dev/fb/0 and show up on video out or send it over the network to a client application. I don't have access to the old source for the client app, but I know the following about the data: 720x480 16-bit RGB (I'm no sure if it's 5,5,5 or 5,6,5) RAW (no headers w...

Pointer alignment in libjpeg

From jmorecfg.h: #define PACK_TWO_PIXELS(l,r) ((r<<16) | l) #define PACK_NEED_ALIGNMENT(ptr) (((int)(ptr))&3) #define WRITE_TWO_PIXELS(addr, pixels) do { \ ((INT16*)(addr))[0] = (pixels); \ ((INT16*)(addr))[1] = (pixels)>>16; \ } while(0) #define WRITE_TWO_ALIGNED_PIXELS(addr, pixels) ((*(INT32*)(a...

Libjpeg error - improper call in state 205

Hi everyone, I'm using libjpeg (C/C++ programming on Windows Mobile 6.5), in order to decode images from an IP camera (sent in a MJPEG stream), before pushing them into a DirectShow graph. Until now, I've been using a single function for : receiving the stream, parsing it manually (in order to find JPEG data starting- and end-point), d...

Using Libjpeg to decompress JPEG data that is in memory

I have found a link that I think is showing me how to do what I want to do, but I need a bit of help getting to grips with this I have a pointer to my JPEG data in memory, I want to get the the raw RGB data out of it. I also will be calling this function over and over, so I figure that if I can put some of pull some of this stuff out an...