<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Swinging at Windmills - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-303cf538" type="application/json"/><link>http://gabrielmaganacom.disqus.com/</link><description></description><atom:link href="http://gabrielmaganacom.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 23 Sep 2011 15:24:57 -0000</lastBuildDate><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-318548461</link><description>&lt;p&gt;It Worked Great!! TYV for the share, keep the good work :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jhollman Chacon</dc:creator><pubDate>Fri, 23 Sep 2011 15:24:57 -0000</pubDate></item><item><title>Re: Solution to &amp;#8220;The OutputPath property is not set for this project.&amp;#8221;</title><link>http://gabrielmagana.com/2010/04/solution-to-the-outputpath-property-is-not-set-for-this-project/#comment-242758554</link><description>&lt;p&gt;Error 7 The OutputPath property is not set for project 'ZdsDAL.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='x86'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. OrpheusZyonManager.cs&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marian</dc:creator><pubDate>Tue, 05 Jul 2011 16:05:54 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-236839495</link><description>&lt;p&gt;thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salmanabbasi</dc:creator><pubDate>Tue, 28 Jun 2011 08:49:02 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-196224600</link><description>&lt;p&gt;great work boss....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Singh7863</dc:creator><pubDate>Tue, 03 May 2011 07:28:49 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179229</link><description>&lt;p&gt;quentininsa: Sorry, I never have worked with TIFF images...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriel Magaña</dc:creator><pubDate>Tue, 15 Mar 2011 09:05:29 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179227</link><description>&lt;p&gt;Thanks for the info!&lt;br&gt;Any idea on how to minimize the memory consumption of a Tiff Image. Currently I convert it to BMP, but was thinking perhaps drawing to a JPeg might be more memory friendly??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">quentininsa</dc:creator><pubDate>Tue, 15 Mar 2011 06:13:32 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179215</link><description>&lt;p&gt;I got error at this line : &lt;/p&gt;

&lt;p&gt;----------------------------&lt;br&gt;                img2.Save(ms,imf);&lt;br&gt;-----------------------------&lt;/p&gt;

&lt;p&gt;Error Message : &lt;br&gt;"A generic error occurred in GDI+."&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ahmad Syahruddin</dc:creator><pubDate>Tue, 01 Mar 2011 23:02:59 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179213</link><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I dont usually comment on articles I find on the internet but I wanted to take a minute to say thank you for posting this solution.  Just saved me pulling whats left of my hair out.&lt;/p&gt;

&lt;p&gt;Great technique - will always use this from now on!&lt;/p&gt;

&lt;p&gt;Many thanks,&lt;/p&gt;

&lt;p&gt;James&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Parry</dc:creator><pubDate>Tue, 01 Mar 2011 12:55:37 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179212</link><description>&lt;p&gt;All I want to do is open an image, flip it 180 degrees and save it.&lt;/p&gt;

&lt;p&gt;I get the "file in use" by another process message with this usage:&lt;/p&gt;

&lt;p&gt; public static void FlipImage(string imagePath)&lt;br&gt;        {&lt;/p&gt;

&lt;p&gt;            try&lt;br&gt;            {&lt;/p&gt;

&lt;p&gt;                System.Drawing.Image originalImage = NonLockingOpen(imagePath);&lt;br&gt;                &lt;br&gt;                originalImage.RotateFlip(RotateFlipType.Rotate180FlipNone);&lt;/p&gt;

&lt;p&gt;                NonLockingSave((System.Drawing.Image)originalImage.Clone(), imagePath, System.Drawing.Imaging.ImageFormat.Gif);&lt;br&gt;            }&lt;/p&gt;

&lt;p&gt;            catch (Exception ex)&lt;br&gt;            {&lt;br&gt;                throw ex;&lt;br&gt;            }&lt;/p&gt;

&lt;p&gt;        }&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg Allan</dc:creator><pubDate>Thu, 17 Feb 2011 11:34:26 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179210</link><description>&lt;p&gt;Excellent Code. Working fine without a single change. Now i am opening /saving all images after any operation using NoLock to avoid any system crash.&lt;/p&gt;

&lt;p&gt;thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yuvraj Singh</dc:creator><pubDate>Fri, 26 Nov 2010 06:47:57 -0000</pubDate></item><item><title>Re: Open source fails when it most matters</title><link>http://gabrielmagana.com/2009/11/open-source-fails-when-it-most-matters/#comment-167179237</link><description>&lt;p&gt;Hi Gabriel,&lt;/p&gt;

&lt;p&gt;Good point, and I can't disagree with it. But there is one thing you are missing I think. Let's take something opposite to OpenSource, like abstract commercial software development company. I don't think that development and sale are taken care by the same guys there, right? Some people good at development and they do it. Others are good sellers and they sell a product.&lt;/p&gt;

&lt;p&gt;Same thing is about OpenSource. For example, I own an OS-project, but I'm not a good seller. I'm not a seller at all. Moreover, I don't want to be a seller. And if some real seller would contribute his selling effort into the project, it will be very appreciated, but nobody comes and contributes so far. So, it's not about dropping a ball at 99.9% mark, it's about there is nobody to pick up the ball at this mark.&lt;/p&gt;

&lt;p&gt;A sale is a sale, it's true. But OS-project must become very popular before he started to receive required contributions, not related to development but very important to make the project a winner. Thus, I can't agree that OpenSource is its own enemy. OpenSource has more strict business restrictions due to its non-commercial nature, and it makes life of any OS-project harder, than of any commercial one. I know a lot of successful OpenSource projects, but all of them started to shine only when they started to get more from other people. So, I agree that OpenSource often fails at this point, but don't hurry up to blame OpenSource for this.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;Artem&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Artem</dc:creator><pubDate>Fri, 08 Oct 2010 00:06:15 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179209</link><description>&lt;p&gt;Share this link on my facebook.&lt;br&gt;Thx a lot dude (:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Welly Hartanto</dc:creator><pubDate>Tue, 06 Jul 2010 09:45:58 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179207</link><description>&lt;p&gt;Robin,&lt;/p&gt;

&lt;p&gt;The code is&lt;/p&gt;

&lt;p&gt;Image img2 = (Image)img.Clone();&lt;/p&gt;

&lt;p&gt;You are cloning img2, not img.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriel Magaña</dc:creator><pubDate>Sun, 28 Mar 2010 09:33:08 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179204</link><description>&lt;p&gt;I tried implimenting your code in my project but &lt;/p&gt;

&lt;p&gt;Image img2 = (Image)img2.Clone();&lt;/p&gt;

&lt;p&gt;keeps giveing me an error.&lt;/p&gt;

&lt;p&gt;Error	1	Use of unassigned local variable 'img2'	&lt;/p&gt;

&lt;p&gt;any ideas would be greatly apreciated.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robin</dc:creator><pubDate>Sun, 28 Mar 2010 03:50:34 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179201</link><description>&lt;p&gt;I love you in all the right and wrong ways. Thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivn</dc:creator><pubDate>Mon, 22 Mar 2010 17:12:40 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179199</link><description>&lt;p&gt;Like the others...it worked perfectly for me.  Thanks for the very descriptive blog.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott</dc:creator><pubDate>Mon, 15 Mar 2010 14:46:29 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179195</link><description>&lt;p&gt;Couldn't figure this one out either, thanks to you my code is working great now!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Allan</dc:creator><pubDate>Fri, 14 Aug 2009 13:47:33 -0000</pubDate></item><item><title>Re: C#: Working with Images, image files, and PictureBoxes</title><link>http://gabrielmagana.com/2009/05/c-working-with-images-image-files-and-pictureboxes/#comment-167179192</link><description>&lt;p&gt;I was pulling my hair out also until I found this information. The only problem I had with the code was that I would get a typlicaly unhelpfull error message of “A generic error occurred in GDI+” when I would attempt to fill my picturebox with your code. I did a little research and found that “You must keep the stream open for the lifetime of the Image.” Once I commented out “ms.Close();” the code worked fine and I am able to delete the root image as needed. Thanks so much for posting, it was very helpful.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Thu, 06 Aug 2009 11:32:39 -0000</pubDate></item></channel></rss>
