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

x
?
Solved

.Net Application to Compress Images

Posted on 2008-06-17
7
Medium Priority
?
294 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: 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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

824 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