Sign In
Posted By: EVX | Jul 16th @ 1:19 PM
page 1 of 2
Comments: 9 | Views: 58
i need an application to reduce the size (MB) of my images. I normally use FSresizer, but this time the application made them heavier....what another application can i use to do that?

You can tweak the quality in most image editing programs (id est: Photoshop). IrfanView also does batch compression I think. Can't test anything: I'm not on my main machine.

For some reason I can't seem to get System.Bitmap.Save(blah) out of my head. The programmer in me tells me that you should do this with .Net. But maybe that's overkill...

Re: IrfanView:

IrfanView (http://www.irfanview.com/) definitely does very sophisticated batch operations for reducing colour depth and what not.

Also, I just ripped this out of one of my programs if you want to go the C# route:

bitmap = ResizeBitmap(bitmap, (int)width, (int)height);

ImageCodecInfo[] info = ImageCodecInfo.GetImageEncoders();

EncoderParameters parameters = new System.Drawing.Imaging.EncoderParameters(1);

parameters.Param[0] = new EncoderParameter(Encoder.Quality, 60);

bitmap.Save(saveFileDialog.FileName, info[1], parameters);

A few months back I have written a small application for my girlfriend to resize a bunch of pictures at once (she wanted to upload some of the pictures that she took in the land of Oz). This thread brought it back into my mind and I, therefore, have created a project on Codeplex and uploaded it there: www.codeplex.com/Imagizer - I hope you like it.

The application works like this:
1) you drag images or even folders (images are detected automatically) into the application.
2) you select an output directoy
3) you select a percentage of resizing
4) you press "Process Images" and wait

It's very useful if you have a huge load of images that you want to resize at once and want the original folder structure to be retained: you select an output directory (one is given by default) and all subfolders that you dragged in are re-created in this output folder.
thx both, but i have a bigger problem now xD.

I just formatted this PC with XP SP3. Everything its ok but i cant`t install VS2008.

"The following component failed to install: Microsoft .NET Framework 3.5"

If i check the error log this appears:

"07/17/08,12:30:11] Microsoft .NET Framework 3.5: [2] Error code 1603 for this component means "Error grave durante la instalación. " [07/17/08,12:30:12] Microsoft .NET Framework 3.5: [2] Setup Failed on component Microsoft .NET Framework 3.5 [07/17/08,12:30:13] VS70pgui: [2] DepCheck indicates Microsoft .NET Framework 3.5 is not installed.
.
.
.
.
"

any suggestions?


Strange. Aren't you getting anything else?
Nop. I tried to install the framework directly from microsoft and about the 70% the error was presented.

The erro log looked liked this :

[07/17/08,14:27:27] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/17/08,14:29:13] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.
[07/17/08,16:44:01] Microsoft .NET Framework 2.0a: [2] Error: Installation failed for component Microsoft .NET Framework 2.0a. MSI returned error code 1603
[07/17/08,16:45:48] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed.

i'll install the framework 2.0 but i dont think that to be the real problem
Hi EVX. I checked various blogs and found this here: http://blogs.msdn.com/astebner/archive/2005/08/01/446328.aspx - You could try the steps here and see what exactly your problem is Smiley
Thx. The problem is solved. I needed to install the .net Framework 2.0 SP1 and .NET Framework 3.0 SP1.

I found an aplication from Aaron Stebner`s to completely uninstall the frameworks in order to reinstall the new versions.

The link of the application is this one: http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip

Once this two frameworks were succesfully installed, the VBS2008 installetion was installed without incident.
page 1 of 2
Comments: 9 | Views: 58