Solved

JPEG

Posted on 1998-11-16
7
309 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
Comment Utility
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
Comment Utility
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
Comment Utility
So, you meant I am right ?

Anyway, thank you very much !

Andrew
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 3

Expert Comment

by:Matvey
Comment Utility
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
Comment Utility
You're welcome. :)
0
 
LVL 3

Expert Comment

by:Matvey
Comment Utility
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
Comment Utility
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

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
Not only does Prezi allow you to create non-linear presentations, it also makes it easy to apply transition animations between your frames. Learn how to apply a fade-in transition to select items and entire frames in this tutorial Select "Edit Path"…

771 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