[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Jpeg Encoder

Posted on 2006-06-12
3
Medium Priority
?
583 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

656 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