Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

Activity for Ruven

  • Ruven Ruven posted a comment on discussion Open Discussion

    You can find the contents of the 20-iipsrv.conf file here directly from the Debian package repository: https://anonscm.debian.org/viewvc/collab-maint/deb-maint/iipimage/trunk/debian/20-iipsrv.conf?view=markup It should install automatically, but if not, try creating the 20-iipsrv.conf file yourself

  • Ruven Ruven posted a comment on ticket #23

    What parameters are you using to generate your image? Could you send me the image itself to test?

  • Ruven Ruven posted a comment on discussion Help

    True, the Debian package description is misleading as their binary version does not include JPEG2000.

  • Ruven Ruven posted a comment on discussion Help

    DZI images are images split into multiple Deepzoom tiles for use with a Deepzoom viewer. As such images are already split into JPEG tiles, you don't need to run this through iipsrv - as you say it already works correctly directly with OpenSeaDragon without the need for any additional server. If you want to use this image with iipsrv, then you will need to use the original TIFF image you used to generate the DZI tiles. If you don't have this anymore, you will need to reconstruct a single TIFF or JPEG2000...

  • Ruven Ruven posted a comment on discussion Help

    Yes, you said you were using Kakadu to create these images, so you should be able to check using the Kakadu kdu_jp2info utility on the command line: kdu_jp2info -i 331724273_2.jp2 You will see an entry "palette box" in the output, which indicates use of a color palette. So, to identify all color-mapped images, just run this command on all your images and check for "palette box".

  • Ruven Ruven posted a comment on discussion Help

    IIPImage does not require the use of cookies

  • Ruven Ruven posted a comment on discussion Open Discussion

    It's not clear what you want "resolved" here. As I said previously, if you wish to use the commercial JPEG2000 codec, then you will need a paid license to remove the watermarking. If you don't require JPEG2000, then just use the standard iipsrv software.

  • Ruven Ruven posted a comment on discussion Open Discussion

    OK, the watermark isn't being applied because the IIIF request is not a correct tile request, but in reality an arbitrary region request. It's asking for a region at position 2048,2048 with size 1972,646 to be exported with width 247px. The size 1972px is not exactly divisible by 256 and so isn't a tile. Also the export width of 247 doesn't correspond to any tile width. I don't know why your viewer is making such requests, but watermarking currently isn't applied to region requests with JPEG2000....

  • Ruven Ruven posted a comment on discussion Open Discussion

    Can you try setting the logging level higher - like 5 or something, then restart iipsrv and try your above IIIF request and tell me what the log says? And you say this was compiled before your arrival. Perhaps the code was modified in some way by someone? Try compiling a fresh version using the official 1.0 version from the website and test that.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Glad it's now working! And yes, better to have iipsrv started by either systemd or Apache but not by both!

  • Ruven Ruven posted a comment on discussion Open Discussion

    Here's a working example using IIIF: http://merovingio.c2rmf.cnrs.fr/fcgi-bin/iipsrv-watermark.fcgi?IIIF=heic0602a.tif/full/1000,/0/default.jpg and the same using the IIP protocol: http://merovingio.c2rmf.cnrs.fr/fcgi-bin/iipsrv-watermark.fcgi?FIF=heic0602a.tif&wid=1000&cvt=jpeg They both have watermarking. But looking again at your other thread: https://sourceforge.net/p/iipimage/discussion/299494/thread/d86559da/ I just realized that you are using JPEG2000. Requests for regions larger than tiles...

  • Ruven Ruven posted a comment on discussion Open Discussion

    Maybe your iipsrv.conf file is not being used by Apache? You can make sure it's being used by, for example, putting in some invalid syntax that will cause Apache to fail on start-up. If it's OK, try again with the logfile in /tmp/iipsrv.log (the default). By the way, you have specified "FcgidInitialEnv FIF" but FIF is not a valid environment variable.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Similar topic: https://sourceforge.net/p/iipimage/discussion/299494/thread/814627a6

  • Ruven Ruven posted a comment on discussion Open Discussion

    I presume you are using mod_fcgid rather than mod_fastcgi. The easiest way I can see to do this is to create different locations for your different iipsrv instances, for example /iipsrv1 /iipsrv2 and then set different Directory directives within which you set the FcgidInitialEnv values separately. For example: <Directory "="" path="" iipsrv1="" "=""> FcgidInitialEnv LOGFILE /tmp/iipsrv1.log etc... </Directory> Unfortunately it means you have to make duplicates of iipsrv.fcgi for each path. Alternatively...

  • Ruven Ruven posted a comment on discussion Help

    If the resolutions don't physically exist within the JPEG2000, the IIPImage server will generate these itself, but only down to the tile size (256x256 pixels). However, what you can try to do is re-generate your JPEG2000 tiles with more resolution levels. If you are using Kakadu, there is the Clevels parameter which you could increase in order to get these resolutions. For OpenJPEG, use -n . Alternatively, for very small images, you can use try to point Suave to use the image export functionality...

  • Ruven Ruven posted a comment on discussion Help

    Your configuration looks fine and the watermarking should appear regardless of whether you are using IIIF or the IIP API. I see you are using several memcached servers, which may be caching un-watermarked image tiles, so try disactivating memcached and see if that helps.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Yes, some kind of shared internal cache would be a good idea. There's a fork that adds Memcached support for this internal cache. Adding shared memory support would probably also be a good idea for those who don't want to use Memcached.

  • Ruven Ruven posted a comment on discussion Open Discussion

    I'll write up a definitive guide for the website, but in the meantime I'll give you a brief overview. Basically there are 2 types of cache. The first is an internal cache that saves raw tile data. This cache isn't shared and is local to each iipsrv instance. The second type of cache uses memecached if this is available and this stores output data only, so this includes both metadata output and all processed JPEG tiles. These two levels of cache are useful and often orthogonal as the same raw data...

  • Ruven Ruven posted a comment on discussion Help

    For TIFF images the tile size is determined by how the image was created. See the image documentation page for details on how to specify the TIFF tile size: http://iipimage.sourceforge.net/documentation/images For JPEG2000 images, the tile size is hard-coded, so you'll have to change the following line in KakaduImage.h or OpenJPEGImage.h and recompile: #define TILESIZE 256

  • Ruven Ruven posted a comment on discussion Open Discussion

    IIIFServer is a binary fork of the IIPImage server that includes the propriety Kakadu JPEG2000 decoder within it. The unlicensed version shows watermarked images, so you will need to get a license if you wish to remove these. You can get more information on licensing here: http://www.iiifserver.com/pricing/

  • Ruven Ruven posted a comment on discussion Open Discussion

    Are you not using the default Redhat packages? There is a package containing the iipsrv binaries and a separate one containing the Apache config files for iipsrv: http://iipimage.sourceforge.net/2013/07/iipimage-now-an-official-fedora-package/ Perhaps your configuration is conflicting with this?

  • Ruven Ruven posted a comment on discussion Open Discussion

    The only big difference between the two images is the rows per strip setting. Try setting this to just 1 and see if this helps.

  • Ruven Ruven posted a comment on discussion Open Discussion

    You'll need to give some more details to understand what the problem is ...

  • Ruven Ruven posted a comment on discussion Open Discussion

    What exactly were the imagemagick parameters used for image mw48509.ptif? And from what original format was this created?

  • Ruven Ruven posted a comment on discussion Open Discussion

    There are 2 different problems with your files. For mw220158.ptif, there is a very large XMP metadata payload, which was too big to fit into an internal buffer used to generate the output JPEG. I've just uploaded a fix so that this no longer occurs. I'm not entirely sure what's happening with mw48509.ptif, but I notice it has a TIFF rows/strip count of 2, which seems to be causing problems. I'll have to look more deeply into this.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Could you send me an example of one of these problem images?

  • Ruven Ruven posted a comment on discussion Open Discussion

    It's probably a persmissions issue - make sure the Apache process has read and execute access for /images/ as well as read access for roof.tif

  • Ruven Ruven posted a comment on discussion Help

    The version of 0.9.9 you are referring to does not have JPEG2000 support. How have you been able to view jp2 images with it?

  • Ruven Ruven posted a comment on discussion Help

    There are no automatic installers for any of the Windows versions - you will have to manually install or compile yourself. However, if you want an installer based on version 1.0 that includes Kakadu JPEG2000 support, you should try iiifserver. You can download the windows installer here: iiifserver-1.0.0-262.win-IIS.x86_64.exe

  • Ruven Ruven posted a comment on discussion Help

    Yes iipsrv 1.0 works on Windows. But if you want to keep your version of iipsrv, then simply convert your images to standard RGB rather than use color-mapped images.

  • Ruven Ruven posted a comment on discussion Help

    I presume the problem is from having color mapped images. This bug has been fixed in version 1.0 of iipsrv.

  • Ruven Ruven posted a comment on discussion Help

    What version of iipsrv are you using?

  • Ruven Ruven posted a comment on discussion Open Discussion

    You can contact me directly by email. For the output handlers, leave that to one side for the time being. There's also a PNG port in preparation that will require some re-working of the handlers to make them more generic. It'll then be much easier to slot in TIFF output. If you need help getting started, I can put together some skeleton code for the TIFF encoder class, which you can then refine.

  • Ruven Ruven posted a comment on discussion Open Discussion

    iipsrv works with all versions of libjpeg, libtiff and zlib. KDU is indeed not open source and is in any case only an optional dependency only for those working with JPEG2000 files. For adding TIFF output there shouldn't be any extra dependencies required as libtiff is already used.

  • Ruven Ruven posted a comment on discussion Open Discussion

    libtiff should be able to handle the compression internally, so adding different compression options should be trivial. What we can do is create a new tiff-output branch into which you do a pull request and when the whole thing is finished, it can then be fully merged into the master branch.

  • Ruven Ruven posted a comment on discussion Open Discussion

    No, things like IIIF.cc are just query parsers. The real output encoding is carried out currently by JPEGCompressor.cc. So, to create an equivalent TIFF encoder, you would just need to implement a TIFF version of that. Then CVT.cc and JTL.cc will simply call this new class to generate TIFF encoded output rather than JPEG output. Currently the JPEG encoding only requires a compression level to be set. For TIFF, this will be more complicated as you'd need to support LZW and Deflate compression options....

  • Ruven Ruven posted a comment on discussion Open Discussion

    You'll need to create your input image with extra intermediate zoom levels, so you'll have to write your own encoder or modify that of imagemagick or vips.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Debian 9 (Stretch) will have version 1.0 and is scheduled for release in a few days on the 17th June 2017!

  • Ruven Ruven posted a comment on discussion Help

    I'm unable to reproduce the error you are getting. Those image sizes look exactly as they should look and the TIFF you sent looks fine also. You say you are using iipsrv 1.0. Did you compile your copy of the IIPImage server yourself you are using a pre-built binary?

  • Ruven Ruven posted a comment on discussion Help

    You can get the pixel dimensions through a Zoomify request to ImageProperties.xml. So, if you have an image test.tif: http://your.server/fcgi-bin/iipsrv.fcgi?Zoomify=test.tif/ImageProperties.xml

  • Ruven Ruven posted a comment on discussion Help

    There's a problem with certain JPEG encoded TIFFs in version 0.9.9. This works fine in version 1.0, however.

  • Ruven Ruven posted a comment on discussion Help

    This is through a viewer. The main one in use is OpenSeadragon, but it happens on IIPMooviewer as well. I tried with an image of the exact same size and it seems to work fine. What are the pixel sizes of each layer and what did you use to create this TIFF. Even better, could you perhaps send me the image to test? Is the CVT export command something included with IIPImage It's a command to export a whole image rather than just a single tile.

  • Ruven Ruven posted a comment on discussion Help

    That's odd. Are you saying these are images generated using the CVT export command or is this through a viewer such as iipmooviewer? If it's a CVT command, could you give me the exact command you are using? And is the pixel size of this image?

  • Ruven Ruven posted a comment on discussion Help

    Version 1.0 can support JPEG2000 files if you have compiled it yourself with the Kakadu JPEG2000 decoder library. If you are just using the default Ubuntu or Fedora package, it won't support it.

  • Ruven Ruven posted a comment on discussion Open Discussion

    No, iipsrv 1.0 is only 2.0 compliant. For IIIF features such as region=square, use the latest sources from github: https://github.com/ruven/iipsrv

  • Ruven Ruven created a blog post

    IIPImage on Solaris

  • Ruven Ruven posted a comment on discussion Help

    Thanks, now updated!

  • Ruven Ruven posted a comment on discussion Open Discussion

    the images are located in the root folder What do you mean by root folder? Directly in "C:/"? Can you paste the output of the iipsrv log file?

  • Ruven Ruven posted a comment on discussion Open Discussion

    Take a look at my reply to this question here: https://github.com/openseadragon/openseadragon/issues/1195#issuecomment-301185727

  • Ruven Ruven posted a comment on discussion Help

    This is currently possible only if you mount the external host using nfs or other network file system.

  • Ruven Ruven posted a comment on discussion Open Discussion

    OK, I understand better now what you are trying to do. Yes, it would indeed make more sense for you to distribute the computational load onto your cluster in your case. In order to do what you want, the IIPImage server would need to output in a format that supports 16 bit images. TIFF and PNG could both be used for this or it could even be just raw binary data that is output. If you want to implement this within IIPImage, it shouldn't be a huge amount of work - much closer to a week rather than a...

  • Ruven Ruven posted a comment on discussion Open Discussion

    Does it work if you remove the load and viewport lines in the IIPMooViewer constructor? You don't really need to set these as the viewer will get these values from the server automatically.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Because of the large bandwidth required for 16 bit (or 32 bit float etc) data, IIPImage does all image processing server-side and sends out only the final visualization to the client. However, it is possible to access raw or processed pixel data through the IIPImage API. You can use the PFL command to extract a line profile between 2 different x,y coordinates at a particular resolution in JSON format. Here's an example PFL request from the astronomy demo: http://visiomatic.iap.fr/fcgi-bin/iipsrv.fcgi?FIF=NGC4565_i.ptif&PFL=11:206068,270532-206146,270532...

  • Ruven Ruven posted a comment on discussion Open Discussion

    The Internet Archive use their own python-based IIIF implementation, not IIPImage: https://github.com/ArchiveLabs/iiif.archivelab.org

  • Ruven Ruven posted a comment on discussion Open Discussion

    iipmooviewer works with zoomify, deepzoom and iiif structures. Your structure looks similar to Deepzoom, so it may work as-is. You'll need a dzi header file to go with it, though.

  • Ruven Ruven posted a comment on discussion Open Discussion

    The IIPImage server currently supports only TIFF and JPEG2000 input images. If you want to use a folder of JPEG tiles, you don't really need IIPImage server as you can point a viewer directly to these tiles. Alternatively you can transcode your tiles into a single TIFF image in order to use the IIPImage server.

  • Ruven Ruven posted a comment on discussion Open Discussion

    The server (not viewer) does use region compositor, but the image itself still only contains resolution levels at factors of 2. It's not clear what you are trying to do. If you really want intermediate zoom levels for interactive viewing, you would have to change the viewer (iipmooviewer) to do client-side rescaling. Alternatively the CVT export function in iipsrv gives you scaling of an export file to any size you want.

  • Ruven Ruven posted a comment on discussion Open Discussion

    There's a problem with the URL you are requesting. It looks like you have set the image path to "http://127.0.0.1/A.tif". You need to set this to a real file path such as /home/images/A.tif or wherever you have put your images.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Try this troubleshooting guide: http://iipimage.sourceforge.net/documentation/troubleshooting/

  • Ruven Ruven posted a comment on discussion Open Discussion

    I can't give you a precise time scale, but I'll try to release this in the next few weeks.

  • Ruven Ruven posted a comment on discussion Open Discussion

    My question is if this version is suitable for a production environment It's not the latest iipsrv, but it should still be stable enough for a production environment. You should just try it out and see how it performs.

  • Ruven Ruven posted a comment on discussion Open Discussion

    There's no official Windows build as yet. But you will find a Visual C++ solution file within the source code to allow you to build it yourself.

  • Ruven Ruven posted a comment on discussion Open Discussion

    Try re-running autogen.sh and then configure again

  • Ruven Ruven posted a comment on discussion Open Discussion

    In fact the latest iipsrv code on Github also has OpenJPEG support included.

  • Ruven Ruven posted a comment on discussion Open Discussion

    OK, this is now fixed in the latest code on Github. The problem isn't related to...

  • Ruven Ruven posted a comment on discussion Open Discussion

    I haven't tried yet. Try it out and let me know!

  • Ruven Ruven posted a comment on discussion Open Discussion

    parameters Clayers=8 show there are 4 layers. No, Clayers is for quality layers,...

  • Ruven Ruven posted a comment on discussion Open Discussion

    Oh, I see what you mean - more intermediate zoom levels. The zoom levels are not...

  • Ruven Ruven posted a comment on discussion Open Discussion

    The number of real zoom levels is a function of the image size and so is set in the...

  • Ruven Ruven posted a comment on discussion Help

    Your IIP request seems to be only the following: Full Request is FIF=/var/www/html/scripto/input_pyr.tif...

  • Ruven Ruven posted a comment on discussion Open Discussion

    I'm not familiar with Kiosk Pro, but it seems to be implemented as a web browser....

  • Ruven Ruven posted a comment on discussion Help

    No, it's not possible to download the source image

  • Ruven Ruven posted a comment on discussion Open Discussion

    Make sure the apache process has read access to this path and file

  • Ruven Ruven posted a comment on discussion Help

    To use IIPImage with IIS, you will need to modify the fastcgi attributes. If you...

  • Ruven Ruven posted a comment on discussion Open Discussion

    It uses a deep copy in order for it be usable in the internal cache and a couple...

  • Ruven Ruven posted a comment on discussion Open Discussion

    You would need to modify DSOImage.cc to the Windows API or find a library for windows...

  • Ruven Ruven posted a comment on discussion Open Discussion

    No, iipsrv needs access to the image files themselves. You should either install...

  • Ruven Ruven posted a comment on discussion Open Discussion

    The tiles exist within the TIFF, but not necessarily within the JP2 image. For JP2,...

  • Ruven Ruven posted a comment on discussion Open Discussion

    If you are using the Deep Zoom viewer, you should check the documentation on their...

  • Ruven Ruven posted a comment on discussion Open Discussion

    It's a good idea to use Memcached as a secondary cache. As I mentioned earlier, this...

  • Ruven Ruven posted a comment on discussion Open Discussion

    At line 220 there is a return after a call to the getNewTile() function and it is...

  • Ruven Ruven posted a comment on discussion Open Discussion

    You're right, it's used only if the server gets a HTTP_IF_MODIFIED_SINCE request....

  • Ruven Ruven posted a comment on discussion Open Discussion

    For information on Memcached itself, you can find everything you need on their homepage:...

  • Ruven Ruven posted a comment on discussion Open Discussion

    Sorry, still no PNG support. But it's still on the TODO list!

  • Ruven Ruven posted a comment on discussion Help

    Is there any kind of workaround at the moment that doesn't involve altering the source...

  • Ruven Ruven posted a comment on discussion Help

    The watermark is created by essentially adding the pixel values from the watermark...

  • Ruven Ruven posted a comment on discussion Help

    To work with IIPImage, they have to be in tiled multi-resolution (pyramid) format....

  • Ruven Ruven posted a comment on discussion Help

    Sorry, this message was stuck in the moderation queue. I just tried your link, but...

  • Ruven Ruven posted a comment on discussion Help

    Do you know what version of Apache you are running? If it's 2.4, take a look in the...

  • Ruven Ruven posted a comment on discussion Help

    Is this a fresh Ubuntu installation? What does it say in the IIPImage server log:...

  • Ruven Ruven posted a comment on discussion Help

    OK, I think you need restart things from the beginning as I just realized you are...

  • Ruven Ruven posted a comment on discussion Help

    You need to set an alias and set the directory properly in you Apache config. See...

  • Ruven Ruven posted a comment on discussion Help

    FastCgiServer: "/usr/lib/cgi-bin/iipsrv.fcgi" access for server (uid 33, gid 33)...

  • Ruven Ruven posted a comment on discussion Help

    If I've understood correctly, you are looking to keep the aspect ratio of the image...

  • Ruven Ruven posted a comment on discussion Open Discussion

    This is managed by libmemcached rather than by iipsrv directly. From the documentation,...

  • Ruven Ruven created a blog post

    IIPImage now an Official FreeBSD Package

  • Ruven Ruven posted a comment on discussion Open Discussion

    If you have plenty of unused RAM on the host machines, then yes, this could be a...

  • Ruven Ruven posted a comment on discussion Open Discussion

    You're right, it's a bug. I've just uploaded a fix to Github.

  • Ruven Ruven modified ticket #22

    Rotation bug at 270°

  • Ruven Ruven posted a comment on ticket #22

    Yes, you are right, this is a bug. There's a fix now included on github: https:/...

1 >