jpeg

Which is the fastest decoder for jpeg full-scale decoding?

Which is the fastest decoder for jpeg full-scale decoding ? I want to accelerate my apps' jpeg decoding speed, how can I do this? I am using libjpeg now, it is a bit slow, is there any one faster than libjpeg? I do not need partical decoding. Many thanks! ...

ffmpeg -is it possible to increase a clip duration?

I currently have a jpeg file which I converted to an flv using the following command: ffmpeg -r 10 -b 180000 -i test.jpg test.mp4 Now, I want to increase the duration of this .mp4 clip, so the picture stays on the screen for more than a split second. Eventually, I hope to merge a stream of these files to create a slide show out of jpe...

convert a JPEG to SWF in Ruby?

Are there any gems / libraries which can be used with Ruby to convert a JPEG into a SWF file with a specific duration? I need to take a list of JPEGs and convert them into a SWF slideshow. ...

Flash transparent JPEG through Flex

In Flash, via the authoring environment, you can put bitmaps in your movie that are compressed with JPEG but still support full alpha transparency, something JPEG does not support out-of-the-box. Is there a way to achieve the same when embedding bitmaps via the Flex [Embed] tag? ...

uploading an image from flash using php more specifically HTTP_RAW_POST_DATA ?

I currently have it working so it displays a dialogue box to save the image on your computer: if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) { // get bytearray $jpg = $GLOBALS["HTTP_RAW_POST_DATA"]; // add headers for download dialog-box header('Content-Type: image/jpeg'); header("Content-Disposition: attachment; filename=".$_GET['name'])...

convert bitonal TIFF to bitonal PNG in C#

I need to convert bitonal (black and white) TIFF files into another format for display by a web browser, currently we're using JPGs, but the format isn't crucial. From reading around .NET doesn't seem to easily support writing bitonal images, so we're ending up with ~1MB files instead of ~100K ones. I'm considering using ImageMagick to d...

Android converting a JPEG from a Nexus one to a MJPEG stream

Hi, I want to send video from the phone (Nexus one) to other devices on the network. I know Android supports video encoders/decoders. But for now the other devices can only accept Base64 encoded JPEG images. Has anyone done something like this or can provide pointers to if and how it can be done ? Thanks. ...

Android Converting from NV21 Preview Format on Nexus one to JPEG

Hi, How can I convert from NV21 to JPEG. Currently, NV21 is the only previewFormat that is supported by the camera on a Nexus One (running Android 2.2). Thanks. ...

Does JPEG use a row-major compression algorithm?

A JPEG image, if it is non-progrssive loads from top-to-bottom, and not from left-to-right or any other manner. Doesn't that imply that jpeg uses some row-wise compression technique? Does it (use a row-wise compression technique)? ...

ImageIO not able to write a JPEG file

I have a BufferedImage I'm trying to write to a jpeg file, but my Java program throws an exception. I'm able to successfully save the same buffer to a gif and png. I've tried looking around on Google for solutions, but to no avail. Code: File outputfile = new File("tiles/" + row + ":" + col + ".jpg"); try { ImageIO.write(m...

Why Safari on iPad doesn't show large jpeg enclosed in IMG tag?

Last time I saw someone asks why Safari on iPad doesn't show some 1920x1440 jpeg with real size & I solved that puzzle. You have to use a progressive-encoded jpeg. However, I find another different problem. Say, demo.jpg is a progressive-encoded jpeg with 2000x3000 & I upload it to my website. I then access it via url ...demo.jpg, Safar...

jpeg compression ratio

Is there a table that gives the compression ratio of a jpeg image at a given quality? Something like the table given on the wiki page, except for more values. A formula could also do the trick. Bonus: Are the [compression ratio] values on the wiki page roughly true for all images? Does the ratio depend on what the image is and the siz...

PHP JPEG Functions Not Working

Any PHP functions that deal with JPEGs don't seem to be working on my server. This code: <?php $im = imagecreatetruecolor(120, 20); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color); header('Content-type: image/jpeg'); imagejpeg($im); imagedestroy($im); ?> creates an e...

jquery load to download the content first

Hello, this is a strange case, I have a jquery script that works with load() and a PHP script with a gif loader until this script is retrieved FADING IN, this jquery is launched on click The problem is that the jquery script is kinda useless for its real intent because this php script I call returns something like <img src="resizer.php...

Safari 5 printing issue ?

Hello everyone, When trying to print any webpage with Safari 5 for Windows, JPEG images don't get printed. The only thing I could find about this issue is here but it doesn't help. Anybody having the same problem ? ...

Delphi - JPEG error #53

Hello , this is my code : TImage.Picture.LoadFromFile('File.jpg'); but i got JPEG error #53 ! what is the reason for this error? ...

FFmpeg: Jpeg file to AVFrame

Hi! I need to join several jpg files into video using FFmpeg library. But I have a problem with reading this files. Here is a function which reads image file and makes AVFrame: AVFrame* OpenImage(const char* imageFileName) { AVFormatContext *pFormatCtx; if(av_open_input_file(&pFormatCtx, imageFileName, NULL, 0, NULL)!=0) {...

Image resize (client side)

Hello, I own web photo print service, main problem is that pictures users upload are twice in size (megabytes) than those I need to print them in standard photo size. Bandwidth and disk space is not a problem, what IS a problem is time it takes to upload them (for user). If photo from camera is 2-3MB I wish to resize them somehow in ha...

TImage does not seem to support Jpeg in D7 (free edition)??

procedure TmainForm.FormCreate(Sender: TObject); var img : TImage; pic:TPicture; begin pic := TPicture.create(); pic.LoadFromFile('my_picture.jpg'); img := Timage.create(Self); img.Picture := pic; end; ... "Project MyProect.exe raised exception class EInvalidGraphic with message 'Unknown picture extension (.jpg)'"...

Utility to compress jpeg as good as photoshop or better

Photoshop has a very good jpeg compression algorithm, using which it creates smaller files with same visual quality (compared to for example ImageMagick). Is there some utility, which can produce same or better quality to size ratio? ...