April 2009


It was a forward email that caught my attention… probably you also might have received it and wondered how on earth this is done…! And you might have thought it would have been better if you also could do it.

What was so interesting about that mail then..? Well it had a JPEG image as attachment whose thumbnail and the actual image were different… strange heh…! And the mail says it is mystery…. break it if you can etc etc….

Sounds interesting…..? Well I will share the secret of that image with you and how to do one for yourself.

A JPEG image stores a lot of details about the image as image header. The header uses a format called EXIF to store the details. Thumbnail of the image is also a part of the EXIF. So if we can manually write this Exif information then we can play with the image as we want… pretty simple rite…!

Download Exifer a small utility and install it and just follow the following steps.

1) Navigare to the folder in which you have the Jpeg image. Select the image you want to modify. If the image has thumbnail data stored then, it will be displayed in the lower rigth panel.

exifer

2) Right click on the thumbnail image in the Exif Thumbnail panel and click on “Insert thumbnail”. Select the image you want the thumbnail to be. You are done.

exifer-1

Now fire it across and create your own mysteries….!

Download this sample Image and observe the thumbnail and original image.

Software engineers often deal with Regular Expressions for string validation or pattern matching. Composing a regular expression that matches exactly what is required and does not match what is not required is quite a tricky job. I created a tool that can help in this endeavor.

regex-matcher

Now you can easily verify whether a regualr expression matches the required pattern or not.

You can download it along with the source code from CodePlex .

Download .net Framework 2.0  Here.

I was just browsing and found this book online…… One of the coolest books on C# fundas….. Enjoy….. :-)

Apologies for not posting the next version of Quote Leacher. But I have extended the expiry  date for the same to 31st March 2010. So you can use it for one more year without interruptions…..:-)

If time permits I will surely come up with next version. Some of you have given valuable comments for the improvement, which I will consider in while coming up with next version….

To download the extended version of Quote Leacher click Here.

To Download  .Net 2.0 Framework click Here.

All your feedbacks are welcome….;-)