Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

iipmooviewer: coordinates for printing

Help
2009-05-13
2012-10-06
  • Hello,

    I'd like to implement the possibility to print the current view from iipmooviewer (eg. only the few loaded tiles for the current res)..
    The 'RGN' attribute from iipserver seems to do exactly what I want (gives me a region of my picture, for a selected res, taking persent as arguments).

    My problem is I'm not able from the viewer to get correrct coordinates for the image I want to print :-/

    Any hints/help would be welcome :-)

    Regards,
    Johan

     
    • Answering to myself...

      I've found a solution using the navwindow, using image size and zone size and position to calculate the values required for the rgn...

      I do not think this is the best solution, but that seems to suit my needs :)

       
      • Ruven
        Ruven
        2009-05-16

        Well, if it works, it works!

        I'll try to add an API function in the next release to get the coordinates more easily.

         


Anonymous


Cancel   Add attachments