Archives

Archives / 2007 / December
  • Correcting Moire pattern interference when resizing images

    The latest version of Instant Church Directory includes enhancements to the image cropping and resizing engine.  In particular, the previous version exhibited a Moire pattern (or zebra pattern) in certain photos when we were resizing or scaling the images.  

    A Moire pattern in images is an interference pattern that creates artifacts in the image due to poor sampling (wikipedia: http://en.wikipedia.org/wiki/Moir%C3%A9_pattern).

    For instance the picture on the left is the original photo of a person and their shirt.  The one on the right is the one from within Instant Church Directory (version 1.0) that exhibited the Moire pattern (or the zebra pattern).

    image image

    To fix this we needed to make sure to set the InterpolationMode to High Quality when manipulating the image using the System.Drawing.Graphics object.  There are several values you can set for the InterpolationMode with HighQualityBicubic being the best quality.

    Graphics g = Graphics.FromImage(bmp2);
    g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic; g.DrawImage(OrignalImage, 0, 0, bmp2.Width, bmp2.Height);

    I want to give a reference to this Code Project article - Image Resizing - outperform GDI+ by Libor Tinka that pointed me in the right direction to solve this problem.

  • Instant Church Directory 2008

    Today we released an updated version of our Church Photo Directory Software, Instant Church Directory.  The new and/or updated features include:

      •    New pastor's page
      •    Improved photo-cropping engine and capabilities
      •    Unlimited number of activity pages
      •    Font sizing for the roster pages
      •    Improved installation process

    Instant Church Directory is a WinForms application written in Microsoft .NET 2.0.  The idea behind Instant Church Directory is to be able to quickly create a photo directory for your church in just a couple of hours.  If you have ever tried to put together a photo directory for your church (or any other organization) then you will understand what an overwhelming task this can be - our goal is to make this simple for you. 

    -Jeff
    Chief Architect
    Communication Resources

  • OneNote Shared Notebooks - Part 1: Windows Files Shares

    David Rasmussen is starting a series of posts on sharing OneNote Notebooks.  Not only is this interesting for people who are setting up OneNote Notebooks for sharing in either a home or corporate environment, but the articles are chuck full of information on file sharing in general.  I am very interested for him to get to his second and fifth parts in the series (SharePoint and WebDAV).  At Communication Resources, we are using OneNote Notebooks to share all of our corporate information.  We are a 100% virtual company (no office building) with employees in 5 different states.  Currently we are storing our OneNote Notebooks in SharePoint but we are seeing some performance issues (I believe the upcoming Vista SP1 has solved these issues).  Overall, we absolutely LOVE OneNote and could not have developed our new Church Directory Software Application (Instant Church Directory) without OneNote.

     You can get to David Rasmussen's first part of his blog post series here:

    OneNote Shared Notebooks - Options and Troubleshooting - Part 1: Windows File Shares