.Net Application to Compress Images

Posted on 2008-06-17
Last Modified: 2010-04-15
Can anyone come up with an application to compress images to a specified size by the user using .Net?
Question by:npl77
  • 3

Expert Comment

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?

Author Comment

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

Accepted Solution

photowhiz earned 500 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.)

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I use SQL Stored Procedure to return FedEx Zone 17 41
Tool Box 2 35
C# Offline Apllication 5 55
Angular - break the dataset in chunks? 7 39
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

895 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

15 Experts available now in Live!

Get 1:1 Help Now