I thought I could work this one out myself but I don't seem to be moving forward at all.
Ok, the background:
I need to create a Huffman tree of codes from the information provided by the FFC4, DHT (Define Huffman Table) header in a jpg file. The DHT header defines the Huffman table in this way:
1) A series of 16 bytes. Each byte defin...
I'm on Fedora Core 6 (64 bit)
after "yum install libjpeg-devel" I have downloaded and built PIL. It gives the message:
--- JPEG support ok
Looks like JPEG built okay, but when running selftest.py:
IOError: decoder jpeg not available
Why would it appear to have built correctly, but fail the selftest?
...
Well I've written a basic lossless jpeg joiner thing in java now but I'd like to compare the files it produces with the original files.
I can only compare so much in a hex editor, does anyone know of an easy way, software or java based (preferably software as I dont feel like any more coding for now!) that I can compare two images and p...
I'm doing some image processing, and I'd like to individually read each pixel value in a JPEG and PNG images.
In my deployment scenario, it would be awkward for me to use a 3rd party library (as I have restricted access on the target computer), but I'm assuming that there's no standard C or C++ library for reading JPEG/PNG...
So, if yo...
Is there a Java library for rotating JPEG files (90/180/270 degrees) without quality degraded?
...
I'm writing a Carbon application and we are creating JPEG files. I'm currently doing this by using Quartz CGImageDestinations and kCGImagePropertyJFIFDictionary. However, JFIF doesn't seem to have any entry for compression quality. Does anyone know how to set this?
thanks
...
We run a site that we host that uses the Atlassian Confluence. The site works great and is being used now. But there is one thing.
It seems like when pdf and gifs are uploaded the upload speed will be slower. But the smaller files will upload fine. Has anyone else having an issue with uploading pdf's into confluence?
I am trying to...
I am trying to save a JPEG image using the Bitmap class. I noticed that sharp edges were always blury regardless of the quality level that I specify. I figured out that it is due to subsampling of one or more of the channels. How do I disable subsampling when saving the image?
I am currently using this code:
EncoderParameters parameter...
I have a batch of PNG files that I need to convert to JPEG. I'm looking for a free trustworthy utility that will give me the most optimal possible JPEGs.
I've found some paid utilities and i HAVE Photoshop, but I want something dedicated that is made for the task and I dont want to accidentally download spy ware.
I'm really surprised n...
Using C# how can I test a file is a jpeg? Should I check for a .jpg extension?
Thanks
...
Hello Guys, I 've a stream of Jpegs images and I'm trying to stream them with HTTP to VLC
The code if the following:
public HttpListenerResponse StartListening(String where)
{
listener = new HttpListener();
listener.Start();
Console.WriteLine("listening on " + where);
listener.Prefixes.Add(where);
...
I am using OpenCV and saving as a jpeg using the cvSaveImage function, but I am unable to find the jpeg compression factor used by this.
What's cvSaveImage(...)'s Jpeg Compression factor
How can I pass the compression factor when using cvSaveImage(...)
...
I'm looking for a faster way to load JPEG (or PNG?) into a .NET Bitmap on Windows Mobile...
I've just had a go at loading JPEG, PNG and GIF:
for (int i = 0; i < files.Length; i++)
{
int tries = 10;
while (--tries > 0)
{
int size = (int)new FileInfo(files[i]).Length;
FileStream fs = new FileStream(files[i], F...
I need to modify the vertical and horizontal resolutions without changing the image dimensions.
...
I am generate thumbnail and medium sized images from large photos. These smaller photos are for display in an online gallery. Many of the photographers are submitting JPEG images using Adobe RGB. I have been asked if the thumbnail and medium size images can use sRGB as the images as is appear "flat" in some browsers.
I'm currently us...
I'm wondering if it's possible at all to sort of record/capture the state of an swf movie over a period of time and save it all down as jpgs to the server?
AS3 has the new com.adobe.images.JPGEncoder class that seems to do the job, but can I capture a sequence? The hope would be that I could put it back together as a video or animation...
Hi,
anyone know of a free open-source jpeg encoding library for C/C++? Currently I'm using ImageMagick, which is easy to use, but it's pretty slow. I compared it to an evaluation of Intel Performance Primitives and the speed of IPP is insane. Unfortunately it also costs 200$, and I don't need 99% of the IPP). Also it will only work f...
I get the following exception when calling BitmapMetadata.GetQuery("/app13/irb/8bimiptc/iptc") on about 1% of JPEGs I have tried this on. What could be causing this and what can I do to fix it? (I have tried Googling but I can only find one relevant result asking the same question but with no answer.)
System.OverflowException:
The image...
Hello,
I'm trying to use a JPEG image in a QImage object from a Python script, with PyQt4.
The script itself works perfectly, the image loads and can be manipulated and rendered and all. However, when I try to "compile" (compyle?) this script with py2exe, everything works but the JPEG image. Replacing it with a PNG equivalent works, but...
I need a non-destructive way of adding EXIF tags to jpeg images from .NET code. So far I have found Exiv2 and the .NET wrapper Exiv2net that works well when adding or updating tags. However, my code needs to run on a 64-bit machine (and compiled for 64-bit due to other reasons) and it seems to me that the Exiv2 code only compiles in 32-b...