jpeg

Converting Flash frame to JPEG

We are attempting to convert a flash frame into a JPEG without using the Flex SDK or other adobe tools. Right now, we have a flash file that passes binary data over to a .cfm page, which uses the following code to change the headers: <cfset var = GetHttpRequestData()> <cfcontent type="image/jpeg"> <cfheader name="Content-Disposition" v...

How to scale JPEG image down so that text is clear as possible?

I have some JPEG images that I need scale down to about 80% of original size. Original image dimension are about 700px × 1000px. Images contain some computer generated text and possibly some graphics (similar to what you would find in corporate word documents). How to scale image so that the text is as legible as possible? Currently we...

How to attach large info to a JPEG file?

The APP0 to APP15 markers only support 65535 bytes each (I read this from libjpeg.doc). What if there's a bigger chunk of data to save in the jpeg file? ...

get image as jpeg format from excel in c#

how to read image in cell of the excel sheet. This sheet contain .jpeg formated images. I want as they are means in jpeg format. i am using asp.net and c# for this. please guide. ...

"jpeglib.h: No such file or directory" ghostscript port in OPENBSD

Hello I have a problem with compiling a ghostscript from ports in openbsd 4.7. SO i have jpeg-7 installed, I have latest port tree for obsd4.7. ===> Building for ghostscript-8.63p11 mkdir -p /usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63/obj gmake LDFLAGS='-L/usr/local/lib -shared' GS_XE=./obj/../obj/libgs.so.11.0 STDIO_IMPLEMEN...

Programmatically choosing image conversion format to JPEG or PNG for Silverlight display

I have a project where I need to convert a large number of image types to be displayable in a Silverlight app - TIFF, GIF, WMF, EMF, BMP, DIB, etc. I can do these conversions on the server before hydrating the Silverlight app. However, I'm not sure when I should choose to convert to which format, either JPG or PNG. Is there some kind of...

Can jpg images support animation?

Well guys. we are not supposed to ask theoratical questions here .. but dint know any other forum where someone would answer this :) jpeg image How is the above jpg image can be animated? As far as I know jpg format does not support animation. ...

How to modify EXIF metadata for JPEG images using Coldfusion?

I am using Coldfusion to view images stored in the file system and I can READ the EXIF metadata of JPEGs, but I'd like to know if it is possible to modify this information and re-save the image. ...

Color space - RGB and YCbCr question

Hello! I am now trying to understand how JPEG encoding works and everything seems fine except the color transformation part. Before attempting to do a DCT in JPEG algorithm, the image is transformed into YCbCr color space. To me this essentially means that we just (comparing to initial RGB image) take a chunk of color information and d...

Convert GeoTIFF to JPEG and Extract GeoTIFF Headers in Python

I am making a Python script which will read in a GeoTIFF file, and will do both: convert the GeoTIFF into a static JPEG (that is much smaller in size), and create a separate text file which contains the GeoTIFF headers. Using the Python GDAL API, I am able to get the script to open a GeoTIFF file, and print details, such as the RasterXS...

Anyone port IJG JPEG code to C#?

Has anyone ported IJG JPEG code to C#? Are there any purely-managed JPEG libraries with source available? I don't much care about the license, as I just want to use it as a learning experience, not actually use it. Performance isn't a huge issue either. I realize the BCL has ways of reading and writing JPEG files, this is mostly to s...

Is cropping of jpeg images using the PIL lossless?

A simple questions really. If you crop a jpeg image using the Python Imaging Library, is the resulting image recompressed, or is it lossless? ...

reduce image size in bytes without resize and quality lose in c#

Hi I m using C#.NET 4.0 I have an jpeg image and i want to reduce its size in bytes .I don't want to change the image size in manner of height and width and not want to lose image quality.Some bit of reduce quality is not an issue. I try to make it a thumbnail image but it reduce the size according to height and width. I can't found a...

"Streaming" MJPG using python.

I have a webcam that I want to do some image processing on using Python. It's coming through as a Motion-JPEG. I want to try to process the stuff "live," but really what I want to do is this: Open the URL, start data streaming to some buffer... Read x bytes (where x is image size) to an image Process that image Display in result panel...

How to read the colorspace being used in an image

How, in C#, can I define the colorspace a JPG is in? I am trying to create a small app to automatically convert to sRGB any image submitted in AdobeRGB colorspace. Thank you for your help. ...

How do you create jpg format video's?

I've always thought .jpg was non-animated, but I've recently found several animations in .jpg format. 1) The obvious question - how do you create .jpg video's directly in the fileformat (not using javascript, for example)? 2) It's both hard to find examples of more .jpg format video's (unlike gif's, there aren't exactly archives of an...

Is there a 100% Java alternative to ImageIO for reading JPEG files?

We are using Java2D to resize photos uploaded to our website, but we run into an issue (a seemingly old one, cf.: http://forums.sun.com/thread.jspa?threadID=5425569) - a few particular JPEGs raise a CMMException when we try to ImageIO.read() an InputStream containing their binary data: java.awt.color.CMMException: Invalid image format ...

Directly embedding JPEGs in an HTML file

I can embed a mime encoded JPEG in an html page by saving the page from IE using the File-SaveAs menu and selecting (Web Archive, single file (*.mht)). Renaming this .mht file with .eml enables Outlook to open it and send an HTML email. My questions are: How can I embed JPEG images directly in HTML pages (no external files). Are the...

Converting AVI Frames to JPGs on Linux

What program on Linux would allow you to convert all the frames in an AVI into a series of JPEG files? ...

Batch Image compression tool for optimizing thousands of images

Hi all, I'm maintaining a site that has thousands of images that have not been compressed nearly enough. The homepage weighs in at 1.5 Mb currently, and it could easily be way less that half that. I'm looking for some kind of tool that'll take a folder full of JPG pictures and will recompress them to their "optimal" compression value. ...