<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/iipimage/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/iipimage/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 09 Aug 2025 13:06:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/iipimage/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>IIP serves random, few small  images very slowly  (6x)</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/41a9961aa2/?limit=25#d5da</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using iipsrv 1.3  (and  kakadu 8.5) apache 2.4&lt;/p&gt;
&lt;p&gt;the server log does not show anything strange,&lt;br/&gt;
I  thought at Disk IO at first, since the images are loaded from a NFS mount , then I tried using memcache  but this was happening as well.&lt;/p&gt;
&lt;p&gt;this is happening only when loading the small images  for the mirador navigation, or  when loading a group of thumbnails,  what I noticed is that this is happening for 2 or 3 images out the first 10 requested&lt;/p&gt;
&lt;p&gt;in the logs the images  "37204602180215904973301709441820852317.jp2" and  "34358478046495137033153354458709325349.jp2" are loaded by the browser in more than one second, the other images are around 300ms &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ramon</dc:creator><pubDate>Sat, 09 Aug 2025 13:06:06 -0000</pubDate><guid>https://sourceforge.netd60faf58d012b2295920b43b9fe65c10c24ca96c</guid></item><item><title>IIP serves random, few small  images very slowly  (6x)</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/41a9961aa2/?limit=25#a11b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;What version of iipsrv are you running? And could you copy and paste the section of the log file when this happens?&lt;/p&gt;
&lt;p&gt;This kind of thing can also sometimes happen due to reasons unrelated to iipsrv, such buffering in disk input/output or at the front-end web server level. So check also your web server logs for anything abnormal.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Sat, 09 Aug 2025 09:42:11 -0000</pubDate><guid>https://sourceforge.neta4bf5a6f649382b4ea75f0d521061eecde4aa3aa</guid></item><item><title>IIP serves random, few small  images very slowly  (6x)</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/41a9961aa2/?limit=25#2a56</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo&lt;/p&gt;
&lt;p&gt;I am using IIP image server compiled with kakadu  to serve jp2000 from apache&lt;br/&gt;
I am serving the images to mirador viewer, when mirador loads the initial thumbnail list (all thumbs are +-3KB) the thumbs are loaded in 150-300ms except a few, 3 or 4 that are loaded in  +-&lt;strong&gt;1200ms&lt;/strong&gt; , these are not sequential but like the 4th 7th en 9th .&lt;br/&gt;
I tried to use memcached but no real improvement&lt;/p&gt;
&lt;p&gt;Where can the issue be ?&lt;/p&gt;
&lt;p&gt;This is my configuration:&lt;/p&gt;
&lt;p&gt;FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "100"&lt;br/&gt;
FcgidInitialEnv JPEG_QUALITY "75"&lt;br/&gt;
FcgidInitialEnv MAX_CVT "5000"&lt;br/&gt;
FcgidInitialEnv MAX_LAYERS  "-1"&lt;br/&gt;
FcgidInitialEnv KAKADU_READMODE "0"&lt;br/&gt;
FcgidInitialEnv CORS "*"&lt;br/&gt;
FcgidInitialEnv CACHE_CONTROL "max-age=86400"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ramon</dc:creator><pubDate>Fri, 08 Aug 2025 11:38:25 -0000</pubDate><guid>https://sourceforge.net73851cd8e40578440cab8f14dc05a75ce6bccca8</guid></item><item><title>Serving images with transparent backgrounds</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/fd714421d4/?limit=25#d23b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You can create the tiled pyramid TIFFs using vips in the usual way. However, JPEG doesn't support alpha channels, so make sure you save your TIFF either using lossless compression such as Deflate or LZW like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;vips tiffsave source_image output_image.tif --tile --pyramid --compression deflate --tile-width 256 --tile-height 256&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Or if you want lossy compression, TIFF supports WebP compression which does allow transparency.&lt;/p&gt;
&lt;p&gt;You can then use your TIFF image through OpenSeaDragon's Deepzoom API using a URL syntax like:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;http://hostname/fcgi-bin/iipsrv.fcgi?DeepZoom=filename.tif.dzi&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;However, iipsrv hardcodes the format field in the metadata XML response to JPEG, so you'll need to override this either by changing iipsrv's &lt;a class="" href="https://github.com/ruven/iipsrv/blob/917fe711935ca683764743068647ba75dde5170f/src/DeepZoom.cc#L114" rel="nofollow"&gt;src/DeepZoom.cc&lt;/a&gt; and compiling iipsrv yourself or by using javascript to override OpenSeaDragon's &lt;a class="" href="https://github.com/openseadragon/openseadragon/blob/master/src/dzitilesource.js" rel="nofollow"&gt;DziTileSource's&lt;/a&gt; fileFormat field. Another option would be to do this with some Apache server-side re-writing to change "jpg" to "png" on-the-fly when the request is made to the above URL.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Tue, 13 Aug 2024 10:12:21 -0000</pubDate><guid>https://sourceforge.net291c8bf35cd30761012059c92e7edcb574bec1d2</guid></item><item><title>Serving images with transparent backgrounds</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/fd714421d4/?limit=25#0d29</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
What is the best way of creating pyramids of images with transparent backgrounds? Is there a utility that can create pyramidal pngs? What would the URL syntax be for reading a pyramidal png in openseadragon?&lt;br/&gt;
Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giles Hudson</dc:creator><pubDate>Sun, 11 Aug 2024 08:59:40 -0000</pubDate><guid>https://sourceforge.net81c2df9f67599b578eb189e44c3fbacd74c6c1ba</guid></item><item><title>openseadragon + IIPImage</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/f142f215/?limit=25#d8a7</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;By the way, I tried with a few images on the Chronicling America site and they all seem to work, so maybe it is indeed a problem at your end.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thank you, sir, for the information!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Tue, 16 Jan 2024 00:10:47 -0000</pubDate><guid>https://sourceforge.net28b78d4ddd58a73e1fde42a3c2bb427321e71c50</guid></item><item><title>openseadragon + IIPImage</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/f142f215/?limit=25#c41c</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;Again, I'm very sorry to inconvenience you, but thank you very much for your time and attention.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;No problem. By the way, I tried with a few images on the Chronicling America site and they all seem to work, so maybe it is indeed a problem at your end.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Mon, 15 Jan 2024 12:01:02 -0000</pubDate><guid>https://sourceforge.netb60fd5d6080d28af8baf3d71c25ab2cbc4bf34cd</guid></item><item><title>openseadragon + IIPImage</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/f142f215/?limit=25#3e85</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;I'm afraid that you are correct that this is not the right place to ask.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I'm sorry for the mistake!  I mistakenly thought this was affiliated with OpenSeaDragon. &lt;/p&gt;
&lt;p&gt;Again, I'm very sorry to inconvenience you, but thank you very much for your time and attention.&lt;/p&gt;
&lt;p&gt;--Charlie Jack&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Mon, 15 Jan 2024 10:31:28 -0000</pubDate><guid>https://sourceforge.net10f86bab25c8cb8142ffd22e9766e56722d67912</guid></item><item><title>openseadragon + IIPImage</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/f142f215/?limit=25#2957</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;Maybe this is the wrong place to post this, and if so, I apologize in advance, but here goes nothing:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I'm afraid that you are correct that this is not the right place to ask. From what I can see, the Library of Congress does not use either the IIPImage server or viewer. The software they use is the OpenSeaDragon viewer, so you could try asking for help on their help forums.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Mon, 15 Jan 2024 10:09:36 -0000</pubDate><guid>https://sourceforge.net8f5f14f692840001b0235e49b4a11850829fab3e</guid></item><item><title>openseadragon + IIPImage</title><link>https://sourceforge.net/p/iipimage/discussion/299494/thread/f142f215/?limit=25#98a1</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe this is the wrong place to post this, and if so, I apologize in advance, but here goes nothing:&lt;/p&gt;
&lt;p&gt;I'm getting a similar error message when I attempt to access the Library of Congress's Chronicling America newspaper database in the customary way (i. e., by clicking links on a blog):&lt;/p&gt;
&lt;p&gt;Unable to open &lt;span&gt;[object Object]&lt;/span&gt;: HTTP 0 attempting to load TileSource&lt;/p&gt;
&lt;p&gt;I get a similar message when I try to access Chronicling America by entering their website.  However, I can usually get the document (i. e., the newspaper page) by clicking the PDF icon at the top of the viewer.  Additionally, I can usually get an enlarged version of the newspaper page by clicking the scissors icon there.  Also, remarkably, at least some of those links which lead to pages which I've clipped in the past seem to work on the viewer.&lt;/p&gt;
&lt;p&gt;I also got that "Unable to open" message when I tried to access a map on the Library of Congress website.&lt;/p&gt;
&lt;p&gt;I've e-mailed someone at the Library of Congress about this, and the contact person seemed to hint that the problem was on my end--that is, he asked me what my operating system was (Windows 11) and what browser I was using (Chrome, although after I first encountered the problem, I unsuccessfully experimented with Edge to see if I'd get a different result).  I think he also said that no one else had complained about it.  For all I know, that could just mean that there aren't very many "old newspaper nerds" who know about LOC's beautiful newspaper database.&lt;/p&gt;
&lt;p&gt;Anyway, as folks say where I'm at now (Taiwan), "Zenmeban?" (how to manage?).&lt;/p&gt;
&lt;p&gt;If you've read this far, thank you for your time and attention, and if the problem is on my end, or if it's intractable, the workarounds I mentioned above (especially the PDF one) should suffice.&lt;/p&gt;
&lt;p&gt;Thanks, and again, I apologize if I've posted this in the wrong place,&lt;br/&gt;
Charlie Jack (Charles B. Jack)&lt;br/&gt;
Banqiao District, New Taipei City, Taiwan&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruven</dc:creator><pubDate>Mon, 15 Jan 2024 02:51:39 -0000</pubDate><guid>https://sourceforge.net16432a497261dc968635a0d436df5c120b606de1</guid></item></channel></rss>