• 0

C# Displaying JPEG2000 file (JP2)


Question

10 answers to this question

Recommended Posts

  • 0

I have know idea (sorry),

a side question:

is JPEG2000 an actual standard yet? I was following the movement in 2001, but it seems that development dropped off. The standard seem to be a great improvement on the old jpeg standard. Does photoshop CS2 support JP2 ?

  • 0

JPEG 2000 is a new image coding system that uses state-of-the-art compression techniques based on wavelet technology. Visit this site for more details: http://www.jpeg.org/jpeg2000. And yet, it include motion JPEG 2000 which is similar to MPEG files. I dont think photoshop CS2 support JP2, maybe soon. And that is why I'm asking someone else to help me find the source for my application. Specially the encoder/decoder thing... :)

Amaw man siguro ka!

  • 0

Exactly! And that is why I'm asking anyone who knows about it. I know it's kinda hard for someone who will intrust his/her knowledge to someone else whom he/she don't know. But what make sense is, you were able to share it with others and make them use for it. That makes us "No Man Is An Island"! :)

  • 0

Found this in the newsgroup microsoft.public.dotnet.framework.drawing: (February 2005 info)

  Quote
Sorry to discourage you but I haven't seen anything that does JPEG2000 under

.NET yet.

It's certainly a frequently asked question.

--

Bob Powell [MVP]

Visual C#, System.Drawing

However, I found this via a Google search:

  Quote
ImagXpress™ JPEG2000 Add On

.NET, COM & VCL Interface to JPEG2000

http://www.pegasusimaging.com/ixjpeg2000.htm

ImagXpress JPEG2000 Add On is $699 for a single development license. This product may also involve additional licensing.

:x

Would be cool to have though. I just wish the format was open source and license free. Just check out the image sample in the above link for a comparison on the same file size. A cool thing about JPEG2000 is that you can also tell it to "compress an image to 80K" and it will do that, setting compression as necessary. :) It has the regular method of "compress at 80% quality" too. It also has a lossless compression mode, and even supports transparency / alpha channels, EXIF metadata, and more!

  • 0

Sadly, it's a hugely patented area. Basically it uses whats called a wavelet transform which is kinda like the fourier transform. It's pretty well known math especially to ANYONE in the sciences or engineering but patenting math is what software patents are all about. Often you'll find devs ignore it or just choose a slower/crappier hackish way of getting around the precise wording.

You'll have to use P/Invoke and build a dll.

http://www.ece.uvic.ca/~mdadams/jasper/

ps: go vancouver/island!!!

  • 0

:yes: Is that so, actually I made my own analysis of this JPEG2000 file and I came up to this information I get out of this file:

(Motion JPEG2000 file analysis)

File Offset = 0x0000000000000000 (0)

Normal Box Size = 0x0000000C (12)

Box Type = jP (Level 1) => JPEG2000 family signature

---------------------------------------

File Offset = 0x000000000000000C (12)

Normal Box Size = 0x00000014 (20)

Box Type = ftyp (Level 1) => File type

Major Brand = 0x6D6A7032 (1835692082)

Minor Version = 0x00000000 (0)

Compatible Version = 0x6D6A7032 (1835692082)

---------------------------------------

File Offset = 0x0000000000000020 (32)

Large Box Size = 0x0000000001E85A71 (32004721)

Box Type = mdat (Level 1) => Media Data

(Data) = Main data exists here

---------------------------------------

File Offset = 0x0000000001E85A91 (32004753)

Normal Box Size = 0x00000529 (1321)

Box Type = moov (Level 1) => Movie

...

...

...

My problem now is on how to manipulate the real codec thing, so that I can create an Image object that will handle a JPEG2000 file. :(

Would it be possible if I will make it without the lib of JPEG2000 or any reliable source related to JPEG2000 which will help me develop this thing? :rolleyes:

ps: I never been to vancouver/island, or anywhere in canada. I'm actually planning to work in canada or somewhere in the US. Is there someone who can help me find a job related to my work now? (Software Developer)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Now, kids, Dan O'Dowd is what we call a professional hater.
    • Billionaire slams 'Tesla Cultists' for praising Robotaxi, says it's 5+ years behind Waymo by David Uzondu Image via Depositphotos.com The Tesla Robotaxi program has kicked off in Austin, Texas, and reactions are pouring in from all corners of the internet. A select group of investors and influencers have been invited to try the service, which operates within a limited area of South Austin for a price of $4.20. While the vehicles are operating without anyone in the driver's seat, the program has specific rules for this pilot phase, including a human "safety monitor" who rides along in the passenger seat just in case things go sideways. Of course, the launch did not go unnoticed by Tesla's most vocal and well-funded critic, Dan O'Dowd. O'Dowd is the billionaire founder of a group called The Dawn Project, which has dedicated itself to highlighting what it calls critical safety failures in Tesla's Full Self-Driving software. He refers to himself as an expert in creating "unhackable" software for military and aerospace clients, and ran for U.S. Senate back in 2022 on a single-issue platform: to "make computers safe for humanity" by banning Tesla's FSD. In 2023, He was banned from advertising on X after He made promoted posts that show Tesla FSD among other things, failing to stop at Stop signs. Last year, his group, The Dawn Project, paid for a Super Bowl ad, where a Tesla equipped with FSD did not act on a child-sized mannequin in the road. That commercial ends with a message, urging parents to "boycott Tesla to keep your kids safe." Today, O'Dowd took to X to slam the launch of the Robotaxi service, saying the "Tesla Cultists are celebrating victory" over a system he believes is years behind the competition (especially Waymo). He pointed out that with only fourteen cars operating for half the day, the system was already making significant errors, a rate he claims is consistent with community-tracked FSD data. The videos shared by the creators (Rob Maurer and Ed Niedermeyer), O'Dowd mentioned in his post, appear questionable, depending on your perspective. In Maurer's video, a trip that was otherwise smooth had a few unnerving seconds of the vehicle slightly swerving into the wrong lane, correcting itself, swerving again, correcting itself, and then finally settling. The other video from Ed Niedermeyer shows something entirely different. Niedermeyer captured a Tesla Robotaxi approaching an "extensive crime scene" with multiple police vehicles parked on the side of the road. On his personal Bluesky account (Ed stopped posting on X late last year, in protest of Musk), He claims the Tesla braked hard twice for no clear reason. In his commentary, Niedermeyer argued the car "shouldn't react to any of these police vehicles," and that it was concerning how it reacted to some but not others, before stopping in the "middle of the road instead of defaulting to a minimal risk condition."
    • Arch is now also using Wayland as the default session for Plasma 6.4, with X11 session becoming optional (so upgrading to Plasma 6.4 on X11 Arch might need manual intervention). It's been well over a decade in making, but I guess the time for Wayland to be the default is finally upon us.
    • I don't want Facebook on my computer or phone, why would I want it on my face, looking at everything I see?
  • Recent Achievements

    • Week One Done
      ravenmanNE earned a badge
      Week One Done
    • Conversation Starter
      Brett76 earned a badge
      Conversation Starter
    • One Month Later
      Miguel Batista earned a badge
      One Month Later
    • Dedicated
      moojay67 earned a badge
      Dedicated
    • One Month Later
      Jim Dugan earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      656
    2. 2
      Michael Scrip
      229
    3. 3
      ATLien_0
      220
    4. 4
      Steven P.
      150
    5. 5
      Xenon
      142
  • Tell a friend

    Love Neowin? Tell a friend!