Solved

Jpeg Encoder

Posted on 2006-06-12
3
574 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 300 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Create Database on Android via Delphi dbExpress 3 129
Adoquery sql  left join does not work 25 104
Delphi and Access based Enumeration 9 78
DBCtrlGrid, Delphi, Scroll 7 33
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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