Solved

JPEG

Posted on 1998-11-16
7
312 Views
Last Modified: 2013-11-19
How can I cut part of JPEG image, display it and save it as a new file ?

Andrew
0
Comment
Question by:andrewyu
  • 3
  • 2
  • 2
7 Comments
 

Author Comment

by:andrewyu
ID: 1347063
I finished it, but, is it other better way than I need to convert two times (JPEG to BMP to JPEG) ?

Can I resize a JPEG directly ?

Andrew
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1347064
You need to decompress it before you can resize it, and then you recompress it.  Therefore you need to convert JPEG->Raw data->JPEG.
0
 

Author Comment

by:andrewyu
ID: 1347065
So, you meant I am right ?

Anyway, thank you very much !

Andrew
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 3

Expert Comment

by:Matvey
ID: 1347066
You propably got the functions in the DrawDIB APIs. Go ahead and copy the implementation from this question of mine, and read about it at the MSDN or simply the Win32.hlp.

http://www.experts-exchange.com/Q.10094885

--Matvey
0
 
LVL 5

Accepted Solution

by:
scrapdog earned 0 total points
ID: 1347067
You're welcome. :)
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1347068
I can't help you much with any examples how to use it, but it's supose to handle JPEG and lots of stuff...
0
 

Author Comment

by:andrewyu
ID: 1347069
No, you ahd already help me ! At least I know I am right although it is not hte best !

Anyway, thank you very much !

Andrew
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

816 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

12 Experts available now in Live!

Get 1:1 Help Now