From: Woody on
Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:

> Woody <usenet(a)alienrat.co.uk> wrote:
>
> > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> >
> > > Woody <usenet(a)alienrat.co.uk> wrote:
> > >
> > > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I'm trying to find out if Firefox can render JPEG2000s using its own
> > > > > good self, or whether it needs help from something like QuickTime.
> > > > >
> > > > > Does anyone have an idea how I can find out?
> > > > >
> > > > > Can't find any reference to the matter on-line.
> > > >
> > > > Well, they certainly added the code for it here:
> > > > <http://dltj.org/article/j2k-in-gsoc-2007/>
> > >
> > > Aha! So how is it you manage to track this stuff down? What searching
> > > did you do? I'd like to learn...
> >
> > I typed 'jpeg2000 firefox' in google, and it is one of the results.
>
> Hmm. Obvious - so why didn't I think to do that?
>
> > having said that, I didn't go straight to it, but went to one of the
> > other links, which was a discussion about it.
>
> Righto.
>
> > I tried searching on the mozilla firefox site but there was nothing of
> > any use there.
>
> Me too.
>
> > Although I just thought about it, and typed "jpeg2000 site:mozilla.org"
> > in and found a couple of other things.
>
> Ah - I wouldn't have thought of that.
>
> > this: <https://bugzilla.mozilla.org/show_bug.cgi?id=36351> shows the
> > history of whether to support it or not.
> >
> > > > but I don't know if it worked, as my copy of firefox can't seem to open
> > > > jpeg2000s I find on the web.
> > >
> > > Care to provide a link or two? - and how might one use Google (or
> > > whatever search engine) to search for a particular file type like jp2?
> > > I've tried and failed.
> >
> > well, there are some connected to here:
> >
> > <http://www.codinghorror.com/blog/2007/02/beyond-jpeg.html>
>
> Are you sure? I can't see any links to any actual JPEG200 files - see
> below.
>
> > neither safari or firefox can open:
> > <http://www.codinghorror.com/blog/images/lena512color-50.jp2>
>
> <puzzled>
>
> I looked at that Web page - according to Firefox, it's a short HTML text
> file looking like this:
>
> <html><head>
> <meta http-equiv="content-type" content="text/html;
> charset=UTF-8"></head><body></body></html>
>
> Firefox opened it *fine*...
>
> According to DeepVacuum, it doesn't exist:
>
> --20:15:45--
> http://www.codinghorror.com/blog/images/lena512color-50.jp2
> => `www.codinghorror.com/blog/images/lena512color-50.jp2'
> Resolving www.codinghorror.com... 204.9.177.195
> Connecting to www.codinghorror.com|204.9.177.195|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 20:15:45 ERROR 404: Not Found.
>
>
> FINISHED --20:15:45--
> Downloaded: 0 bytes in 0 files

Hmm.. maybe that is why!

> > But the easiest way is just to search google for "filetype:jp2"
>
> Righto - I had no idea that was possible. Umm. How do I search Google
> for filetype:jp2?
>
> I tried
>
> filetype:jp2
>
> in the Google search box, and it just came up with a bunch of hits based
> on I don't know what, but no jp2000s that I could see. I gave up after
> a bit - most of the pages required Javascript to be executed, and are
> also far too foreign for me to figure out anything at all about 'em.
>
> > > Got lots of stuff *about* JPEG2000s, but can't seem to hit on a jp2 file
> > > as such.
> > >
> > > > Mind you, I could only find a couple of
> > > > jpeg2000s on the web.
> > >
> > > My copy of Firefox opens all the JPEG2000s that I've created with
> > > Graphic Converter.
> >
> > Hmm.. maybe there are different subtypes that work.
>
> I suspect that you've just not found many actual jpeg2000s to look at
> with Firefox.
>
> > this one <http://www.aadmm.de/images/gf6.jp2> seems to work in
> > everything
>
> Erm - any idea why that page needs a javascript to execute just to
> display one small image?

Javascript? That is just the image gf6.jp2. If you seeing javascript in
use it is your browser doing something else. I had a look at the html
communication coming back, it is just an image.

As are:

http://maps.library.utoronto.ca/datapub/digital/G3400s631261904Sheet3419
31.jp2
http://www.wolfgang-rolke.de/graphics/jpeg2000.jp2
http://jerusalem.wikispaces.com/file/detail/Creative+piece.jp2/30410495

etc.

Page 3 of the google search has loads of them. Google doesn't recognise
them as images, so just shows the start of the contents, so you get
either the metadata if there is any, or a load of binary stuff such as:

jP ftypjp2 jp2 J2P1 Ijp2h ihdr colr cdef oxml 454461.5545867783900,
118218.5914817098500 0.0000000000000,-1.0000000000000,0.0000000000000
1.0000000000000 .


--
Woody

www.alienrat.com
From: Rowland McDonnell on
Woody <usenet(a)alienrat.co.uk> wrote:

> Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
>
> > Woody <usenet(a)alienrat.co.uk> wrote:
> >
> > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
[snip]
> > > > Got lots of stuff *about* JPEG2000s, but can't seem to hit on a jp2 file
> > > > as such.
> > > >
> > > > > Mind you, I could only find a couple of
> > > > > jpeg2000s on the web.
> > > >
> > > > My copy of Firefox opens all the JPEG2000s that I've created with
> > > > Graphic Converter.
> > >
> > > Hmm.. maybe there are different subtypes that work.
> >
> > I suspect that you've just not found many actual jpeg2000s to look at
> > with Firefox.
> >
> > > this one <http://www.aadmm.de/images/gf6.jp2> seems to work in
> > > everything
> >
> > Erm - any idea why that page needs a javascript to execute just to
> > display one small image?
>
> Javascript? That is just the image gf6.jp2. If you seeing javascript in
> use it is your browser doing something else. I had a look at the html
> communication coming back, it is just an image.

Well, Firefox's NoScript extension is telling me that there's a
Javascript from aadmm.de needs executing, and I don't get an image
unless I permit the script.

> As are:
>
> http://maps.library.utoronto.ca/datapub/digital/G3400s631261904Sheet3419
> 31.jp2
> http://www.wolfgang-rolke.de/graphics/jpeg2000.jp2
> http://jerusalem.wikispaces.com/file/detail/Creative+piece.jp2/30410495
>
> etc.

Okay, so, erm, now what?

> Page 3 of the google search has loads of them. Google doesn't recognise
> them as images, so just shows the start of the contents, so you get
> either the metadata if there is any, or a load of binary stuff such as:
>
> jP ftypjp2 jp2 J2P1 Ijp2h ihdr colr cdef oxml 454461.5545867783900,
> 118218.5914817098500 0.0000000000000,-1.0000000000000,0.0000000000000
> 1.0000000000000 .

Erm?

What?

I'm completely confused now, I'm afraid. Firefox asks me if I want to
download the first hit you found and/or open it in Preview.

Rowland.

--
Remove the animal for email address: rowland.mcdonnell(a)dog.physics.org
Sorry - the spam got to me
http://www.mag-uk.org http://www.bmf.co.uk
UK biker? Join MAG and the BMF and stop the Eurocrats banning biking
From: Woody on
Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:

> Woody <usenet(a)alienrat.co.uk> wrote:
>
> > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> >
> > > Woody <usenet(a)alienrat.co.uk> wrote:
> > >
> > > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> [snip]
> > > > > Got lots of stuff *about* JPEG2000s, but can't seem to hit on a
> > > > > jp2 file as such.
> > > > >
> > > > > > Mind you, I could only find a couple of
> > > > > > jpeg2000s on the web.
> > > > >
> > > > > My copy of Firefox opens all the JPEG2000s that I've created with
> > > > > Graphic Converter.
> > > >
> > > > Hmm.. maybe there are different subtypes that work.
> > >
> > > I suspect that you've just not found many actual jpeg2000s to look at
> > > with Firefox.
> > >
> > > > this one <http://www.aadmm.de/images/gf6.jp2> seems to work in
> > > > everything
> > >
> > > Erm - any idea why that page needs a javascript to execute just to
> > > display one small image?
> >
> > Javascript? That is just the image gf6.jp2. If you seeing javascript in
> > use it is your browser doing something else. I had a look at the html
> > communication coming back, it is just an image.
>
> Well, Firefox's NoScript extension is telling me that there's a
> Javascript from aadmm.de needs executing, and I don't get an image
> unless I permit the script.

Try it with something else, such as curl.

I downloaded it with wget (as I can never remember how how to use curl),
with the command line:

wget http://www.aadmm.de/images/gf6.jp2

I ended up with a file gf6.jp2 which opened in preview. wget can't run
any javascript, so you don't need it to get the file. I have no idea why
firefox needs to run a script.

> > As are:
> >
> > http://maps.library.utoronto.ca/datapub/digital/G3400s631261904Sheet3419
> > 31.jp2
> > http://www.wolfgang-rolke.de/graphics/jpeg2000.jp2
> > http://jerusalem.wikispaces.com/file/detail/Creative+piece.jp2/30410495
> >
> > etc.
>
> Okay, so, erm, now what?
>
> > Page 3 of the google search has loads of them. Google doesn't recognise
> > them as images, so just shows the start of the contents, so you get
> > either the metadata if there is any, or a load of binary stuff such as:
> >
> > jP ftypjp2 jp2 J2P1 Ijp2h ihdr colr cdef oxml 454461.5545867783900,
> > 118218.5914817098500 0.0000000000000,-1.0000000000000,0.0000000000000
> > 1.0000000000000 .
>
> Erm?
>
> What?
>
> I'm completely confused now, I'm afraid.

About which bit?

Google doesn't consider the jp2 or a jpeg2000 image as an image, so it
doesn't treat it the same way as it does a normal image, such as a jpeg
or png.

As a result, it just considers it the same as any binary file.

> Firefox asks me if I want to
> download the first hit you found and/or open it in Preview.

That is not a firefox issue, that is a server issue. The server that
hosts the jp2 file doesn't understand the jp2 extension, so just
signifies that it is a binary file, so firefox downloads it.

I would imagine that will be common with quite a few jp2 files, unless
the server hosting them is used to them. It isn't a common filetype on
the web.

--
Woody

www.alienrat.com
From: John DoH on
In article
<1jn2tee.1nepku91c84kl3N%real-address-in-sig(a)flur.bltigibbet.invalid>,
real-address-in-sig(a)flur.bltigibbet.invalid (Rowland McDonnell) wrote:

> Woody <usenet(a)alienrat.co.uk> wrote:
>
> > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> >
> > > Woody <usenet(a)alienrat.co.uk> wrote:
> > >
> > > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I'm trying to find out if Firefox can render JPEG2000s using its own
> > > > > good self, or whether it needs help from something like QuickTime.
> > > > >
> > > > > Does anyone have an idea how I can find out?
> > > > >
> > > > > Can't find any reference to the matter on-line.
> > > >
> > > > Well, they certainly added the code for it here:
> > > > <http://dltj.org/article/j2k-in-gsoc-2007/>
> > >
> > > Aha! So how is it you manage to track this stuff down? What searching
> > > did you do? I'd like to learn...
> >
> > I typed 'jpeg2000 firefox' in google, and it is one of the results.
>
> Hmm. Obvious - so why didn't I think to do that?

Earth to Rowland....
>
> > having said that, I didn't go straight to it, but went to one of the
> > other links, which was a discussion about it.
>
> Righto.
>
> > I tried searching on the mozilla firefox site but there was nothing of
> > any use there.
>
> Me too.
>
> > Although I just thought about it, and typed "jpeg2000 site:mozilla.org"
> > in and found a couple of other things.
>
> Ah - I wouldn't have thought of that.
>
> > this: <https://bugzilla.mozilla.org/show_bug.cgi?id=36351> shows the
> > history of whether to support it or not.
> >
> > > > but I don't know if it worked, as my copy of firefox can't seem to open
> > > > jpeg2000s I find on the web.
> > >
> > > Care to provide a link or two? - and how might one use Google (or
> > > whatever search engine) to search for a particular file type like jp2?
> > > I've tried and failed.
> >
> > well, there are some connected to here:
> >
> > <http://www.codinghorror.com/blog/2007/02/beyond-jpeg.html>
>
> Are you sure? I can't see any links to any actual JPEG200 files - see
> below.
>
> > neither safari or firefox can open:
> > <http://www.codinghorror.com/blog/images/lena512color-50.jp2>
>
> <puzzled>
>
> I looked at that Web page - according to Firefox, it's a short HTML text
> file looking like this:
>
> <html><head>
> <meta http-equiv="content-type" content="text/html;
> charset=UTF-8"></head><body></body></html>
>
> Firefox opened it *fine*...
>
> According to DeepVacuum, it doesn't exist:
>
> --20:15:45--
> http://www.codinghorror.com/blog/images/lena512color-50.jp2
> => `www.codinghorror.com/blog/images/lena512color-50.jp2'
> Resolving www.codinghorror.com... 204.9.177.195
> Connecting to www.codinghorror.com|204.9.177.195|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 20:15:45 ERROR 404: Not Found.
>
>
> FINISHED --20:15:45--
> Downloaded: 0 bytes in 0 files
>
> > But the easiest way is just to search google for "filetype:jp2"
>
> Righto - I had no idea that was possible. Umm. How do I search Google
> for filetype:jp2?
>
> I tried
>
> filetype:jp2
>
> in the Google search box, and it just came up with a bunch of hits based
> on I don't know what, but no jp2000s that I could see. I gave up after
> a bit - most of the pages required Javascript to be executed, and are
> also far too foreign for me to figure out anything at all about 'em.
>
> > > Got lots of stuff *about* JPEG2000s, but can't seem to hit on a jp2 file
> > > as such.
> > >
> > > > Mind you, I could only find a couple of
> > > > jpeg2000s on the web.
> > >
> > > My copy of Firefox opens all the JPEG2000s that I've created with
> > > Graphic Converter.
> >
> > Hmm.. maybe there are different subtypes that work.
>
> I suspect that you've just not found many actual jpeg2000s to look at
> with Firefox.
>
> > this one <http://www.aadmm.de/images/gf6.jp2> seems to work in
> > everything
>
> Erm - any idea why that page needs a javascript to execute just to
> display one small image?
>
> Rowland.

--
"Telling someone to kill themselves is not harmful: it's merely me
expressing an opinion. You try to drive people to suicide - that's evil.
My behaviour is perfectly okay; your behaviour is evil -
plain and simple evil." Rowland McDonnell - 9th. Mar. 2009
From: Rowland McDonnell on
Woody <usenet(a)alienrat.co.uk> wrote:

> Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
>
> > Woody <usenet(a)alienrat.co.uk> wrote:
> >
> > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> > >
> > > > Woody <usenet(a)alienrat.co.uk> wrote:
> > > >
> > > > > Rowland McDonnell <real-address-in-sig(a)flur.bltigibbet.invalid> wrote:
> > [snip]
> > > > > > Got lots of stuff *about* JPEG2000s, but can't seem to hit on a
> > > > > > jp2 file as such.
> > > > > >
> > > > > > > Mind you, I could only find a couple of
> > > > > > > jpeg2000s on the web.
> > > > > >
> > > > > > My copy of Firefox opens all the JPEG2000s that I've created with
> > > > > > Graphic Converter.
> > > > >
> > > > > Hmm.. maybe there are different subtypes that work.
> > > >
> > > > I suspect that you've just not found many actual jpeg2000s to look at
> > > > with Firefox.
> > > >
> > > > > this one <http://www.aadmm.de/images/gf6.jp2> seems to work in
> > > > > everything
> > > >
> > > > Erm - any idea why that page needs a javascript to execute just to
> > > > display one small image?
> > >
> > > Javascript? That is just the image gf6.jp2. If you seeing javascript in
> > > use it is your browser doing something else. I had a look at the html
> > > communication coming back, it is just an image.
> >
> > Well, Firefox's NoScript extension is telling me that there's a
> > Javascript from aadmm.de needs executing, and I don't get an image
> > unless I permit the script.
>
> Try it with something else, such as curl.

Care to hint a bit more? What's curl? Suggestions on how I might learn
to use it?

> I downloaded it with wget (as I can never remember how how to use curl),
> with the command line:
>
> wget http://www.aadmm.de/images/gf6.jp2
>
> I ended up with a file gf6.jp2 which opened in preview. wget can't run
> any javascript, so you don't need it to get the file. I have no idea why
> firefox needs to run a script.

Righto. Nor me. <shrug> Some oddity that a heavy Web dude might be
able to explain, I suspect.

<heh> I think you ought to know that I'm feeling very depressed.

> > > As are:
> > >
> > > http://maps.library.utoronto.ca/datapub/digital/G3400s631261904Sheet3419
> > > 31.jp2
> > > http://www.wolfgang-rolke.de/graphics/jpeg2000.jp2
> > > http://jerusalem.wikispaces.com/file/detail/Creative+piece.jp2/30410495
> > >
> > > etc.
> >
> > Okay, so, erm, now what?
> >
> > > Page 3 of the google search has loads of them. Google doesn't recognise
> > > them as images, so just shows the start of the contents, so you get
> > > either the metadata if there is any, or a load of binary stuff such as:
> > >
> > > jP ftypjp2 jp2 J2P1 Ijp2h ihdr colr cdef oxml 454461.5545867783900,
> > > 118218.5914817098500 0.0000000000000,-1.0000000000000,0.0000000000000
> > > 1.0000000000000 .
> >
> > Erm?
> >
> > What?
> >
> > I'm completely confused now, I'm afraid.
>
> About which bit?

All of it. Hence `completely confused'.

> Google doesn't consider the jp2 or a jpeg2000 image as an image, so it
> doesn't treat it the same way as it does a normal image, such as a jpeg
> or png.
>
> As a result, it just considers it the same as any binary file.

Okay, but what's that got to do with what Firefox does?

> > Firefox asks me if I want to
> > download the first hit you found and/or open it in Preview.
>
> That is not a firefox issue, that is a server issue.

Ah! Okay, that makes some sort of sense.

> The server that
> hosts the jp2 file doesn't understand the jp2 extension, so just
> signifies that it is a binary file, so firefox downloads it.

Righto.

> I would imagine that will be common with quite a few jp2 files, unless
> the server hosting them is used to them. It isn't a common filetype on
> the web.

It seems strange that things work that way - or not, as in this sort of
case. <sigh> Not that I know a thing about the details.

Rowland.

--
Remove the animal for email address: rowland.mcdonnell(a)dog.physics.org
Sorry - the spam got to me
http://www.mag-uk.org http://www.bmf.co.uk
UK biker? Join MAG and the BMF and stop the Eurocrats banning biking