Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

JPEG

Posted on 1998-11-16
7
Medium Priority
?
320 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
Suggested Courses

885 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