Did You Know Part 1: How to compress a picture without losing quality

Image Worsener To Reduce Image Quality Without Reducing Quality 150Pxp2 Did you know that you can compress pictures and make them considerably smaller without actually reducing the image quality?


Today, we are starting a new series of posts exclusive to windows7themes.net titled “Did You Know”. Here is the first one!

Reduce Image Files By Stripping Metadata – Works Great!

Image Worsener To Reduce Image Quality Without Reducing Quality

1. Step Download imageworsener – a free utility for lossless image compression:

2. Step In the ZIP file you find the imagew.exe – extract it

3. Step Copy and paste the following text into the notepad editor


SETLOCAL
set CURRENTDIR=%CD%
echo %currentdir%
FOR /f "usebackq delims=|" %%f in (`dir /b "%currentdir%"`) DO (
set str1=%%f
echo %str1%
set str3=%str1:~-4%
echo %str3%
set str2="thumb_%str3%"
IF NOT EXIST "thumb_%%f" CALL C:\images\imagew.exe "%%f" "thumb_%%f")
ENDLOCAL

4. Step Save the file with the extension .bat and select “All files” from the dropdown when saving the file (or it wont actually create a bat file). You could give it the name lossless.bat

5. Step Open a command prompt

6. Step Use the CD command to change the directory to C:\images or your own path and copy all of your images that you want to compress there as well. If the directory does not exist create one

Making The Images Dir

7. Step Now run the script lossless.bat and it will compress all images in the folder.

Running Lossless Batch

If something does not work you may have to tweak it a little, I use it in combination with the following script


Set CURRENTDIR=%CD%
CALL C:\images\lossless.bat %CURRENTDIR%
pause Do you want to continue?

8. Step You could, if you want to go one step further and become more productive, add the code above into a batch file called losslessA.bat and then add this to your context menu

To add the script to your context menu please work through our extensive guide: Adding new items to the Windows 7 context menu

Did you like this advanced tutorial? If so, we will have a few more “Did you know’s” coming. The next one will teach you how to edit PDF files and write text right into PDF documents! HANDY!

5 of 5 0 (100%) 1 vote
- Cheers!


Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates: Twitter Follower

Contact The Author:
support@windows7themes.net

Get Free Help

Connect With Our Site:

 

   


Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link (g2a.com/r/win7themes) and save money at the same time:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *