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
Solved

JPEG

Posted on 1998-11-16
7
313 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
It’s easy to embed any of your public Prezi presentations on your website or social network to share with others. Learn how simple it is in this tutorial.

839 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