<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 8 bit image to Imaging.PixelFormat.Format32bppPArgb in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915055#M14955</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;why don't you use Format8bppIndexed pixel format for 8-bit images?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2007 10:35:04 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-08-02T10:35:04Z</dc:date>
    <item>
      <title>8 bit image to Imaging.PixelFormat.Format32bppPArgb</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915054#M14954</link>
      <description>&lt;P&gt;I'd like to draw my 8 bit grayscale image quickly in a C# GUI. What's the best way to do this?&lt;/P&gt;
&lt;P&gt;Currently, I'm doing this:&lt;/P&gt;&lt;FONT size="2"&gt;
&lt;P&gt;ippiDup_8u_C1C3R, followed by&lt;/P&gt;&lt;FONT size="2"&gt;
&lt;P&gt;ippiSwapChannels_8u_C3C4R&lt;/P&gt;
&lt;P&gt;It seems horribly inefficient, but apparently, GDI+ is optimized for Format32bppPArgb.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;THanks&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 27 Jul 2007 19:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915054#M14954</guid>
      <dc:creator>gegnal</dc:creator>
      <dc:date>2007-07-27T19:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: 8 bit image to Imaging.PixelFormat.Format32bppPArgb</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915055#M14955</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;why don't you use Format8bppIndexed pixel format for 8-bit images?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2007 10:35:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915055#M14955</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-08-02T10:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: 8 bit image to Imaging.PixelFormat.Format32bppPArgb</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915056#M14956</link>
      <description>&lt;P&gt;Apologies for the late reply.&lt;/P&gt;
&lt;P&gt;I do use 8bpp images for processing and transport, but not for display. I'm trying to draw the bitmap in a C# GUI in combination with color markup using the Graphics.DrawImage command. If I try to draw the image it won't accept 8bpp (perhaps because there is already color markup on the graphics object). Random color seems to peek through in speckles.I find that converting to RGB (where r=g=b)solves the issue. After my post, I realized that 24bpp would work quite well, and the ippiDup_8u_C1C3R command is sufficient to get my image into 24bpp format. Still, it seems slow.&lt;/P&gt;
&lt;P&gt;I saw a post about converting this at &lt;A href="http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2006-03/msg00052.html"&gt;http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2006-03/msg00052.html&lt;/A&gt;. The poster suggests drawing the 8bpp image into a 32bpp image. This does not solve the issue; the colors are still showing through in speckles.&lt;/P&gt;
&lt;P&gt;So, I guess this is not really an IPP issue, but thanks anyway for listening.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2007 19:10:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/8-bit-image-to-Imaging-PixelFormat-Format32bppPArgb/m-p/915056#M14956</guid>
      <dc:creator>gegnal</dc:creator>
      <dc:date>2007-11-29T19:10:18Z</dc:date>
    </item>
  </channel>
</rss>

