<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/linpha/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/linpha/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/linpha/bugs/</id><updated>2013-10-07T17:05:54.834000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#259 ereg() and eregi() gif warnings</title><link href="https://sourceforge.net/p/linpha/bugs/259/?limit=25#d2db" rel="alternate"/><published>2013-10-07T17:05:54.834000Z</published><updated>2013-10-07T17:05:54.834000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.net3b74a6d1211a11e76f1ce17e438a4b4ad657a3ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket moved from /p/linpha/patches/30/&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#8296" rel="alternate"/><published>2013-10-07T17:03:57.132000Z</published><updated>2013-10-07T17:03:57.132000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.net3e7ed348f1ca9ca4d948ef25f69eaf0d96391ea7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-works-for-me&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;: next release --&amp;gt; Version 1.0 &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#00cc" rel="alternate"/><published>2013-09-22T11:07:38.642000Z</published><updated>2013-09-22T11:07:38.642000Z</updated><author><name>lsmod</name><uri>https://sourceforge.net/u/kmalcher/</uri></author><id>https://sourceforge.netb599542ae99c792c57347a689e76454e142726e0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Found the time to test.&lt;/p&gt;
&lt;p&gt;It seems the problem is the option with the '-colorspace RGB'.&lt;br /&gt;
When i comment out line 744 the resized images have the same colour.&lt;br /&gt;
Firefox and Opera has no problems to show the images without this option!?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;$watermark&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;$convert_str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;build_watermark_str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;$input&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;$q&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;$w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;$h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nx"&gt;$convert_path&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// if making any changes, change it in the function build_watermark_str() too!&lt;/span&gt;
    &lt;span class="nx"&gt;$convert_str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;$convert_path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;'convert'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
        &lt;span class="s1"&gt;' -quality '&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;$q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
        &lt;span class="s1"&gt;' -size &amp;quot;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;$w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;'x'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;$h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;'&amp;quot;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;   &lt;span class="c1"&gt;// new size&lt;/span&gt;
        &lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;escape_string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;$input&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;    &lt;span class="c1"&gt;// &lt;/span&gt;&lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt;&lt;span class="c1"&gt; -&amp;gt; take only first frame!!!&lt;/span&gt;
        &lt;span class="s1"&gt;' -resize &amp;quot;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;$w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;'x'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;$h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;'&amp;quot;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="c1"&gt;// new size&lt;/span&gt;
        &lt;span class="s1"&gt;' -strip '&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="c1"&gt;// replaces +profile &amp;quot;*&amp;quot; because we have a lot of problems with it! this should be save to use, as it's available since Jun 2003 '&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;//          ' -colorspace RGB'.     // change colorspace always to RGB because all browsers only can display RGB images&lt;br /&gt;
            ' '.escape_string($output);&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;Now i am happy again with LinPHA! :-)&lt;/p&gt;
&lt;p&gt;Cheers Karsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#0afd" rel="alternate"/><published>2013-09-20T11:53:34.818000Z</published><updated>2013-09-20T11:53:34.818000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.net777501feb51d278e53a2a81be0ca87a1ba07e2fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This post may help you while trying to fix it...&lt;br /&gt;
&lt;a href="http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&amp;amp;t=20898" rel="nofollow"&gt;http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&amp;amp;t=20898&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;cheers bzrudi&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#136d" rel="alternate"/><published>2013-09-20T11:48:04.175000Z</published><updated>2013-09-20T11:48:04.175000Z</updated><author><name>lsmod</name><uri>https://sourceforge.net/u/kmalcher/</uri></author><id>https://sourceforge.net26f00276ba9094ab224053a34ab440cb2c67a1af</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ah - i see - thank you!&lt;br /&gt;
I will experiment with this options a little bit.&lt;br /&gt;
When i find a solution i will post it here.&lt;/p&gt;
&lt;p&gt;Karsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#257 LinPHA not working with PHP 5.4.4</title><link href="https://sourceforge.net/p/linpha/bugs/257/?limit=25#596b" rel="alternate"/><published>2013-09-20T11:44:47.848000Z</published><updated>2013-09-20T11:44:47.848000Z</updated><author><name>lsmod</name><uri>https://sourceforge.net/u/kmalcher/</uri></author><id>https://sourceforge.net2cdcead2689701d872f6da10adc7b120eb4ad692</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes but this deprecated functions require often many basic modification of the code.&lt;/p&gt;
&lt;p&gt;Another question:&lt;br /&gt;
Which is the last PHP-Version where LinPHA works perfect without problems?&lt;br /&gt;
I used it with PHP 4 vefore and this is really outdated.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#047a" rel="alternate"/><published>2013-09-20T11:39:17.189000Z</published><updated>2013-09-20T11:39:17.189000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.net564792f377c433ef8a833514eb1a8537ef1f94a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the error is (not yet ;-)) a real problem and is not responsible for the image problem. Just had a look and found the convert call parameters to be applied in /functions/image.php starting at line 738...&lt;/p&gt;
&lt;p&gt;Good luck ;-)&lt;/p&gt;
&lt;p&gt;cheers bzrudi&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#a259" rel="alternate"/><published>2013-09-20T11:18:19.869000Z</published><updated>2013-09-20T11:18:19.869000Z</updated><author><name>lsmod</name><uri>https://sourceforge.net/u/kmalcher/</uri></author><id>https://sourceforge.net1978510f082956bf867bc2d8bb4d2ab4f2c68341</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I understand this of course.&lt;br /&gt;
But it seems that YOU are the only one who can solve this "little problems" that must be changed.&lt;/p&gt;
&lt;p&gt;I activated the Error logging in PGP 5.3.27.&lt;/p&gt;
&lt;p&gt;I only get this one Error:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Fri Sep 20 13:12:49 2013]&lt;/span&gt; &lt;span&gt;[error]&lt;/span&gt; &lt;span&gt;[client 192.168.1.10]&lt;/span&gt; FastCGI: server "/usr/lib/cgi-bin/php-5.3" stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /srv/www/linpha/adodb/adodb.inc.php on line 1961, referer: &lt;a href="https://192.168.1.3/linpha/viewer.php?albid=398&amp;amp;stage=3&amp;amp;imgid=15426" rel="nofollow"&gt;https://192.168.1.3/linpha/viewer.php?albid=398&amp;amp;stage=3&amp;amp;imgid=15426&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It looks not to be responsible for this dark pictures. :-(&lt;/p&gt;
&lt;p&gt;Can you give me a tip where the parameters are send to ImageMagick?&lt;br /&gt;
Then i can try to track the problem.&lt;/p&gt;
&lt;p&gt;Thank You&lt;br /&gt;
Karsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#257 LinPHA not working with PHP 5.4.4</title><link href="https://sourceforge.net/p/linpha/bugs/257/?limit=25#9ff6" rel="alternate"/><published>2013-09-20T10:41:53.202000Z</published><updated>2013-09-20T10:41:53.202000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.net561f6bde240b5ece670af009719f0020196c9b54</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;please watch your PHP error log for, guess it is simple a problem with a deprecated function no longer available in PHP 5.4...&lt;/p&gt;
&lt;p&gt;cheers bzrudi &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#258 Resized pictures are to dark</title><link href="https://sourceforge.net/p/linpha/bugs/258/?limit=25#ca5d" rel="alternate"/><published>2013-09-20T10:39:57.925000Z</published><updated>2013-09-20T10:39:57.925000Z</updated><author><name>bzrudi</name><uri>https://sourceforge.net/u/bzrudi/</uri></author><id>https://sourceforge.netfcf184bee52658d3979ed3864a6310f6f56efd18</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry to say that LinPHA is no longer supported. I just don't have the time and as LinPHA was my very first PHP project more than 10 years ago, the code is a mess and hard to maintain ;-)&lt;br /&gt;
However, regarding the pictures I recommend you to use ImageMagick (if not already). It was a problem in all the years of active development to keep LinPHA compatible with any new GD and ImageMagick version...&lt;br /&gt;
Watch your PHP error log for some useful information as a first start to fix you problem...&lt;/p&gt;
&lt;p&gt;cheers bzrudi &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>