<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/zbar/patches/" rel="alternate"/><link href="https://sourceforge.net/p/zbar/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/zbar/patches/</id><updated>2017-08-24T19:57:00.687000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>zbarcam crashes on X servers with 16 bit color depth</title><link href="https://sourceforge.net/p/zbar/patches/42/" rel="alternate"/><published>2017-08-24T19:57:00.687000Z</published><updated>2017-08-24T19:57:00.687000Z</updated><author><name>Raphael Wegmann</name><uri>https://sourceforge.net/u/rapha31/</uri></author><id>https://sourceforge.nete95417642271da71abfddc85945b6cebc4d31b57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Running zbarcam on a X server with 16 bit color depth (i.e. on a 3.5 inch TFT displays of a raspberry pi) causes the following crash:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  72 (X_PutImage)
  Serial number of failed request:  60
  Current serial number in output stream:  62
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I could fix that problem with the attached patch. Yes, I know, the patch is just an ugly workaround. A proper fix would query the color depth of the server and only apply my change, if the color depth of the X server returns just 16 bit.&lt;/p&gt;
&lt;p&gt;Regarding Raspberry Pi, there is another problem with its cameras: They are not autofocus and usually come with focus set to infinity. If you want to use a raspberry pi camera to scan a QR-code 20 cm in front of the lense, zbarcam will fail, because the image is blurred. Use the white plastic cap, that comes with the camera to manually focus the camera to objects at close range by turning the lense about 25° against the clock. This will make your images sharp enough for zbarcam to scan them correctly.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#28 64-bit windows compatibility (mingw64)</title><link href="https://sourceforge.net/p/zbar/patches/28/?limit=25#24d6/7f23/3846" rel="alternate"/><published>2016-07-26T18:23:57.202000Z</published><updated>2016-07-26T18:23:57.202000Z</updated><author><name>Vladimír Čunát</name><uri>https://sourceforge.net/u/vcunat/</uri></author><id>https://sourceforge.netb1b79c6d8f77c45a7d0ed970b426f7af39a6cca5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A few months ago I side-stepped the problem by reducing the feature-set, IIRC. Here's the nix expression &lt;a href="https://gist.github.com/vcunat/f7ebf5cd796e1d54fd13b45c8cb9c352" rel="nofollow"&gt;https://gist.github.com/vcunat/f7ebf5cd796e1d54fd13b45c8cb9c352&lt;/a&gt; -- I think the configure flags used should be clear from that...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#28 64-bit windows compatibility (mingw64)</title><link href="https://sourceforge.net/p/zbar/patches/28/?limit=25#24d6/7f23" rel="alternate"/><published>2016-07-26T14:01:21.831000Z</published><updated>2016-07-26T14:01:21.831000Z</updated><author><name>Summer</name><uri>https://sourceforge.net/u/summer00094/</uri></author><id>https://sourceforge.net0398c06a44589c41b743b411bc040bea68b72578</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to use mingw64 compile the project which use zbar lib. I did not use patch before. Could u pls teach me how to use this patch? Thank you for ur help in advance&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 Delphi Binding</title><link href="https://sourceforge.net/p/zbar/patches/7/?limit=25#8868/ecee" rel="alternate"/><published>2016-04-25T05:36:01.751000Z</published><updated>2016-04-25T05:36:01.751000Z</updated><author><name>DimensionSlider</name><uri>https://sourceforge.net/u/dimensionslider/</uri></author><id>https://sourceforge.net2205cc28a50d2730b0b70abf7127415e7f692bc3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;DLL96V1, DLLSP96 come from ImageLib Corporate Suite. Just get the lib.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#28 64-bit windows compatibility (mingw64)</title><link href="https://sourceforge.net/p/zbar/patches/28/?limit=25#167e" rel="alternate"/><published>2016-04-15T07:10:28.545000Z</published><updated>2016-04-15T07:10:28.545000Z</updated><author><name>Vladimír Čunát</name><uri>https://sourceforge.net/u/vcunat/</uri></author><id>https://sourceforge.net0514d514f3d1da947e2ce2c387d31d1f96d807b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there a reason why this hasn't been integrated? Zbar-0.10 still fails to build with 64-bit mingw. (And the patch no longer applies cleanly.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix for android CameraTest application crash</title><link href="https://sourceforge.net/p/zbar/patches/41/" rel="alternate"/><published>2014-09-17T09:59:09.217000Z</published><updated>2014-09-17T09:59:09.217000Z</updated><author><name>Sivabalan</name><uri>https://sourceforge.net/u/arcadesiva/</uri></author><id>https://sourceforge.neta48320b849c9cc638b495cd8adafc87f3093b52f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;h1 id="fix-for-crash-during-onresume"&gt;Fix for crash during onResume&lt;/h1&gt;
&lt;p&gt;During onPause of CameraTestActivity, Camera object is released. So, application get crashed when resumed from background. Here initialized the Camera and CamerPreview objects.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#26 Show orientation information for QR-codes and 1D barcodes</title><link href="https://sourceforge.net/p/zbar/patches/26/?limit=50#d262/1029" rel="alternate"/><published>2014-08-21T09:01:36.897000Z</published><updated>2014-08-21T09:01:36.897000Z</updated><author><name>gorsk</name><uri>https://sourceforge.net/u/gorsk/</uri></author><id>https://sourceforge.net4b3e8b4f79876a201cfa857c6d330cddad2b9410</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;All of the symbol information (including orientation) is available in the XML output, which is much more scalable.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;how is it available in the xml output?&lt;br /&gt;
i try this:&lt;br /&gt;
zbarcam -v --xml -S*.position&amp;gt;file.txt&lt;br /&gt;
and just an index number and the decoded text show up.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#37 fix crash when importing python module</title><link href="https://sourceforge.net/p/zbar/patches/37/?limit=25#5afc" rel="alternate"/><published>2014-07-30T20:07:32.594000Z</published><updated>2014-07-30T20:07:32.594000Z</updated><author><name>eileen</name><uri>https://sourceforge.net/u/eli2950/</uri></author><id>https://sourceforge.net6e1589f7783002e7afbcd34171a207c07e90cfee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It this issue going to get resolved in the main repo? I ran into the same problem and took me way too long to find the solution.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#37 fix crash when importing python module</title><link href="https://sourceforge.net/p/zbar/patches/37/?limit=25#b3cc" rel="alternate"/><published>2014-07-12T20:49:45.575000Z</published><updated>2014-07-12T20:49:45.575000Z</updated><author><name>Alex Margolin</name><uri>https://sourceforge.net/u/margamarga/</uri></author><id>https://sourceforge.net1c8428f04c98539cc603b97967ca6230114bd684</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Too bad I didn't see this comment - took me a few hours to reach the same solution. :(&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Mult-byte sequence QRCode decode TODO done</title><link href="https://sourceforge.net/p/zbar/patches/40/" rel="alternate"/><published>2014-02-09T19:27:35.042000Z</published><updated>2014-02-09T19:27:35.042000Z</updated><author><name>benck</name><uri>https://sourceforge.net/u/benck/</uri></author><id>https://sourceforge.net36204527db77828f980a8e8300cc09c7b2d1a277</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a TODO part in qrdectxt.c which is about multi-byte sequence and I have done handling the situation that multi-byte sequence split between blocks.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Copy the bytes into a buffer(if it's MODE_BYTE or MODE_KANJI).&lt;/li&gt;
&lt;li&gt;Start to handle the buffer if the next entry is not MODE_BYTE nor MODE_KANJI. Then empty the buffer.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This patch also add support for BIG-5 encoding QRCode which I submitted earlier. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>