Contents tagged with .NET
-
The world (map) should be free!.
With all of the open source movement going around and new licenses like the creative commons you would have expected someone should be able to grab a simple jpeg or a png of the world map for free, without any licensing issues. Well, I’m not sure when I actually started looking for one, but at some point in time I did, and couldn’t actually find an appropriate map of the world countries that’s free to download and royalty free to use in projects. Sure some of you would say that Bing and Google maps have their own maps and API which is great for some purposes. but just grabbing a simple map world map with countries borders and without any companies watermarks or restrictions is just not available. (and if you do happen to find one , please let me know).
So anyway I’ve decided to play the role of a cartographer and create my own maps and share those with the rest of the world , for free!. the first step was to find a reliable data set of country borders . Took a look in the CIA world Fact book which was good but not enough , took also a look here in this database which seemed very outdated. Eventually, I’ve stumbled upon this marvelous Natural Earth Data website. here is the Natural Earth Data site’s description -
Deepzoom with Silverlight 2.0 First Hands Example
I was looking for an interesting starting point to getting my hands dirty with Silverlight. Deepzoom caught my attention. It is basically a Silverlight component that let's you zoom in and out into an image. While there are some examples out there that utilize and showcase it, most of them are pretty basic and not that practical. While back I wrote a small app that composes a target image mosaic out of smaller images, but back than , I had to use Zoomify to provide a zoom in and zoom out interface. Now with Deepzoom, I wanted to check it out.
-
Halloween Fun - Embedding Ghosts Watermark in images with C#
For those of you who are going to celebrate Halloween on the 31st , here is a nice cool thing to do with C# and System.Drawing library.
In this post I'll show you how to use C# to embed a ghost image with a background image. -
Tagging Images with GPS coordinates. Now the lightweight app.
In one of my previous posts I showed how to embed GPS coordinates to jpeg images using C#. It is mainly useful if you're using a maps+pictures services such as panoramio.com or everytrail.com or any other kind of mapping and pictures solutions.
My GPS buddy is a nifty HOLUX M-241 GPS among the regular location, speed, direction, time it can also records tracks, and on top of that it's rather cheap.
But unfortunately its image GPS coordinates embedding feature doesn't work so well. -
GPS Coordinates in JPEG C# Example - Looks like there is a western side to the world as well
-
Embedding GPS coordinates and other info in JPEG images with C#
GPS and images are a dynamic duo. GPS modules are becoming cheaper and cheaper which means that we would see more gadgets embedded with a GPS as a standard. Cameras and phones are probably the ones that would be on the front line of GPS embedding early adoption. Currently there is the Nokia's N95 cell phone and there might be soon to see camera's with embedded GPS modules (??) and some funny looking , cumbersome integrations .
So having these two modules is a blessing for geotaggers.
What is geotagging you ask?
Taken from wikipedia
Geotagging, is the process of adding geographical identification metadata to various media such as websites, RSS feeds, or images and is a form of geospatial metadata. This data usually consists of latitude and longitude coordinates, though it can also include altitude, bearing, and place names.
And if you're lucky enough to have a GPS that can track export it's data , you can embed the GPS coordinated into the JPEG images. Which means that on top of storing things like the camera model and time of picture taken , it can also store the specific location where the picture was taken. And to take it even further , there are image loading web services that locate on a map pictures that were embedded with their respective GPS coordinates . Panoramio.com is my favorite, Flickr used to support this by simply putting the latitude and longitude as tags , but it looks like it is no longer supported. Use Panoramio , it does the job. -
C# / .Net image filters working on linux (and other cross platforms) with Mono
When I published Yael , which is basically a set of .Net open source image filters class library, I tried testing that on several linux platforms using Mono. back than Mono was somewhere around the 1.2 version and trying to run several gdi related core lib calls crashed down Mono. recently , with the announcement of the completion of Mono's 2.0 api I've decided to revisit this test. Another aspect that i've tested didn't go so well so I was a bit pessimistic.
-
Winforms on Linux - Mono 2.0 Winform API is complete(?)
-
Code Review Check List (or how to avoid the code review reaper..)
Code reviews are generally underrated. From my perspective and experience , if they are being conducted properly and successfully , which means that you don't fall asleep in them, they are the most productive tool to spot out bugs, performance issues, scalability and extensibility traps and bad implementation of a good (or even a bad) design. But, and there is a big but, they can be intimidating and uneasy if the expectations are not set correctly. I always try to explain what are the expectations who will be examined in the code review so that the presenter would have the chance to prepare better for the review.So to make sure your team's code reviewer won't be thought of as the grim, err, code reaper , try to set some expectations first.
Below are my two cents for preparing and setting the expectations for a code review . They are relevant both for the presenter and the reviewer.
Have fun : -
Running c# Winforms applications on linux
More new original content will follow...