?
Solved

Jpeg Encoder

Posted on 2006-06-12
3
Medium Priority
?
582 Views
Last Modified: 2010-04-04
Hello,

I am using Delphi jpeg encoder but when I tested the produced jpeg with an analysis utility it always gives one of the following errors (although jpeg is viewed properly by the viewer programs)

Premature end of data.
Extraneous bytes.

Heve anyone encountered these errors? I tried other encoder units (like Intel's jpeg encoder dll, jpeg experts group encoder) but the result generally same.

Do anyone suggest another encoder that is error free? or other way around??

Thanks....
0
Comment
Question by:new_x
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 34

Accepted Solution

by:
Slick812 earned 1200 total points
ID: 16889590
I have used the included Delphi  TJPEGImage many time with success, , I beleive that it does a good job producing jpegs, , but I know from doing some work with JFIF, JPEG files, that the File stucture and file specifications, allow for alot of variation, and differences in file stucture and encoding methods, , I will guess that your jpeg  analysis utility  is giving you information that is not relevant to the decoding of the jpeg file, even though it may be some sort of tecnical error
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question