BGP file format

Hi all,

Is there any java port of BGP, or at least a java jni wrapper for existing open source C libraries?

I am interested in encoding/decoding performance comparison with JPEG.

Accoding to its creator: “High compression ratio. Files are much smaller than JPEG for similar quality.”

http://bellard.org/bpg/

Thanks for any hints.

Albert

Looks like a cool file format. One intriguing thing is the JavaScript decoder… perhaps we could harness that in ImageJ by invoking it as a JavaScript script? Hacky, but might be very little effort to get working.

The issue here is that BPG can harness hardware acceleration, like JPEG, which is what makes JPEG and now BPG so appealing.

Looks like they are working on it in Apache Tika.

1 Like

Do we really have to care about lossy image-compression for scientific image processing and analysis. (OK, they say that there is a lossless option, but JEPG provides it too and nobody uses it…)

BTW, looks as if this was crossposted to the IJ-list.

Best Herbie

1 Like

Herbie: lots of genuine uses of JPEG. Just not for bioimage quantification.

1 Like

@ctrueden Looks like the BGP format is now supported in Apache Tika according to the latest news in your link.

1 Like

Dear Albert,

I wrote

[…] for scientific image processing and analysis.

and I’m still convinced that ImageJ was conceived for this purpose – no?

Regards

Herbie