Solved

Jpeg Encoder

Posted on 2006-06-12
3
569 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
3 Comments
 
LVL 33

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi OLE Error 8 93
ddeman not working in activex 3 92
Correct Component for Shopping Cart. 2 95
QRReport  TQrmemo vertical stretching 1 42
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now