Improve company productivity with a Business Account.Sign Up

x
?
Solved

.Net Application to Compress Images

Posted on 2008-06-17
7
Medium Priority
?
298 Views
Last Modified: 2010-04-15
Can anyone come up with an application to compress images to a specified size by the user using .Net?
0
Comment
Question by:npl77
  • 3
4 Comments
 
LVL 7

Expert Comment

by:photowhiz
ID: 21808040
By "compress" do you mean the number of bytes or the number of pixels?

Are you looking for an application that does this, or source code?
0
 

Author Comment

by:npl77
ID: 21808110
source code. I want to compress the file size, so the number of bytes i think.
0
 
LVL 7

Accepted Solution

by:
photowhiz earned 2000 total points
ID: 21818616
The bytes by which images can be compressed is highly image-dependent. I believe WPF allows you to specify a Quality for JPEG images, this will reduce the number of bytes required.

You may be able to do better if you have special information about the images (line drawings, can eliminate colors, etc.)
0
 
LVL 7

Expert Comment

by:photowhiz
ID: 21901017
Thanks for the points, but that answer did not deserve an "A".
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

607 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