Solved

Jpeg Encoder

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

18 Experts available now in Live!

Get 1:1 Help Now