• 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

    • Videomass 5.0.26 by Razvan Serea Videomass is not just a common converter, it features file concatenation, time trimmer, ability to create thumbnails, tiled mosaics and animated giffs from movies; it has sophisticated GUIs for video filters, previews for video stabilization, resizing, croping, transposing, color equalization. It features PEAK, RMS and EBU audio normalization with streams indexing capabilities, a volume analyzer, audio preview and many more interesting features… For the people that are familiar with FFmpeg, it has a highly customizable preset manager with the possibility to easily make your own presets through the GUI and adapt this to your specific needs or create new presets using the FFmpeg command line. For less experienced people there are also ready-to-use presets. It offers out-of-the-box all possible file formats like MP4, M4V, M4A, MKV, AVI, OGV, WEBM, MP3, AC-3, WAV, OPUS, FLAC, OGG and encoders like MPEG-4, H.264/AVC, H.265/HEVC, VP8, VP9, LIBAOM-AVI, VORBIS, PCM, LAME, ALAC, etc. Also you can copy audio or video streams (lossless mode) without re-encoding, or extract audio from videos and much more! Main features No ads Multi-Platform, work on Linux, MacOs, Windows, FreeBsd. Batch processing. Queue management (only available for Presets Manager and A/V Conversions). Advanced log file management. Multi-panels, switch between panels using keyboard shortcuts. Audio/video processing using advanced tools and sophisticated filters interfaces. While downloading audio or video you can now do other transcoding tasks. Multi languages support (English, French, Italian, Russian, Dutch, Portuguese-BR, simplified Chinese, Spanish-ES, Spanish-CU, Spanish-MX) Conversions and transcoding Drag and drop to add multiple files simultaneously. Fully customizable presets and profiles. Possibility to create your new presets and profiles from scratch. Has useful presets to start with. Using the Presets Manager, you can set any format and codec supported by your FFmpeg build. Media file info (from FFprobe) and streams analyzer (from volumedetect). Shows the estimated time of arrival during encodings. Concatenate, merge media files losslessly. Create Slideshows. Extract images from video. Ability to switch between different FFmpeg builds. Has useful graphical tools for evaluating the supported features of a specific FFmpeg build. Audio stream mapping using selectable indexes. You can set both audio and video to copy when you just want to convert formats (lossless process). Timeline editor to slice time segments or trim the duration of your media even without re-encoding and therefore without loss of quality. It has GUI video filters such as: Resize Crop Transpose Deinterlace Denoise Stabilize Equalize Audio filters for volume normalization such us: PEAK, RMS and EBU-R128 normalizers. PEAK and RMS volume analysis reporting. Ability to select specified audio streams in videos to apply volume normalization. and much more… Videomass 5.0.26 changelog: Fixed yt-dlp preferences tab issue #372 Enabled import of the external «yt_dlp» package also on the standalone executable built by Pyinstaller. Improved handling of the yt-dlp executable (yt-dlp.exe on Windows) which now provides some automation and useful information for the users. Added «Whale» browser to the supported browser list for cookie automations. Update it_IT i18n, thanks to @bovirus Update zh_CN i18n, thanks to @userwljs Removed API functionality for download operations. Now only the yt-dlp executable is used for download operations. The API is still needed and will only be used for statistics extraction and format code listing. Fixed #374 Added «FLAC resampler» new preset. Notes: FFmpeg is not included in this archive. Before launching the application, ensure you have a compatible version of FFmpeg for your system architecture (requires ffmpeg.exe, ffprobe.exe, and ffplay.exe, version 5.1 or newer). For more details and downloads, visit: Gyan's FFmpeg builds page BtbN's FFmpeg GitHub releases page Antivirus False Positive Detection Some antivirus programs may mistakenly flag Videomass.exe as malicious. These are false positives. To resolve this, submit the Videomass.exe file to your antivirus vendor for further analysis and request a false positive review. Download: Videomass 5.0.26 | 18.4 MB (Open Source) Links: Videomass Home Page | Screenshots | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Who could have thought that Microsoft's (not an ad business) browser is better at blocking ads than Google's (the ad business) browser.
    • So, Microsoft Edge should be behind Firefox and Chrome, because most average users have not heard about it and don't know it's exist.
    • adjusting cleartype did very little, almost nothing.   I will continue to tell people NOT to upgrade to 11 because of this issue.   If I can't customize the computer I OWN, then it's no longer MY COMPUTER!   Screw MS for this omission!
  • Recent Achievements

    • Week One Done
      abortretryfail earned a badge
      Week One Done
    • First Post
      Mr bot earned a badge
      First Post
    • First Post
      Bkl211 earned a badge
      First Post
    • One Year In
      Mido gaber earned a badge
      One Year In
    • One Year In
      Vladimir Migunov earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      488
    2. 2
      +FloatingFatMan
      259
    3. 3
      snowy owl
      244
    4. 4
      ATLien_0
      222
    5. 5
      +Edouard
      191
  • Tell a friend

    Love Neowin? Tell a friend!