Giter Site home page Giter Site logo

webjpip.js's People

Contributors

freekv avatar mamazav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

webjpip.js's Issues

Enabling CORS for kdu_server and kdu_server alternatives

Hi,

In the README you mention its very easy to add the necessary headers to kdu_server messages to enable CORS and expose the headers. What edits do you recommend to do so? I have a full Kakadu licence for V8.0.6.

Also, any open-source alternatives to kdu_server you found useful and worked for webjpip, for instance OpenJPIP?

Thanks

Edit:
I'm currently using a node.js proxy which seems to work, but I'd imagine its ideal to forego the proxy altogether and instead have kdu_server enable CORS directly.

kdu_server

I tried to get the jpxjpip or other demos up and running but with the latest version of kdu_show I do not succeed at all. I get the info below. Any idea where to start? I could go through the code of kdu_server but any hint would be appreciated.
Thanks!

<< GET
/A012_C005_0516BC_001_1099124.jp2?type=jpp-stream&stream=0&len=10240&qid=1&cnew
=http HTTP/1.1
<< Host: XXXXXXXX:8888
<< Connection: keep-alive
<< User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
<< Origin: http://localhost
<< Accept: /
<< Referer:
http://localhost/jpip/wrappers/jpxjpipimage/jpxjpipimageworkers/codestreamclien
tmanagerworker.js
<< Accept-Encoding: gzip, deflate, sdch
<< Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
<<

New channel request accepted locally
    Assigned channel ID: JPH_020B82F74A5DFD69

>> HTTP/1.1 200 OK
>> JPIP-cnew: cid=JPH_020B82F74A5DFD69,path=jpip,transport=http
>> JPIP-qid:1
>> Cache-Control: no-cache
>> Transfer-Encoding: chunked
>> Content-Type: image/jpp-stream
>>
>> 10c

>> 0
>>

Disconnecting client
    File = "a012_c005_0516bc_001_1099124.jp2"
    Channel transport = "http" (1)
    Disconnect time = Fri Feb 19 14:38:46 2016
    Connected for 10.050763 seconds
    Total bytes transmitted = 458
    Number of requests = 1
    Number of requests not pre-empted = 1
    Average bytes served per request not pre-empted = 458.000000
    Number of primary channel attachment events = 1

Any plan of stable release?

This is great work and I like the idea of pure web-based JPIP interface a lot.
I am trying to adopt this webjpip for my project, I am wondering if there is any recent plan of a stable release ? As I noted the last commit is about a year ago.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.