Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Doubt in different Image formats?

Doubt in different Image formats?

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kapardhi
    wrote on last edited by
    #1

    Hai! In my application i have developed a code to draw an image from pixel data present in byte array. i get this byte array by reading an image file present in a location. I was succesfully displaying (.png, .gif, .jpg, .bmp) but when i tried to display .j2k and .jp2 images using the same code my application displays blank or doesn't display image at all. I came to know that windows doesnot support .jp2 and .j2k images. Now my doubt is if windows doesnot support them can i be able to display those (.jp2 and .j2k) images on my dialog (assuming i have correctly coded to display an image from byte array of a image file)? Thanks!

    C S 2 Replies Last reply
    0
    • K kapardhi

      Hai! In my application i have developed a code to draw an image from pixel data present in byte array. i get this byte array by reading an image file present in a location. I was succesfully displaying (.png, .gif, .jpg, .bmp) but when i tried to display .j2k and .jp2 images using the same code my application displays blank or doesn't display image at all. I came to know that windows doesnot support .jp2 and .j2k images. Now my doubt is if windows doesnot support them can i be able to display those (.jp2 and .j2k) images on my dialog (assuming i have correctly coded to display an image from byte array of a image file)? Thanks!

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      http://www.ece.uvic.ca/~mdadams/jasper/[^]

      image processing toolkits | batch image processing

      1 Reply Last reply
      0
      • K kapardhi

        Hai! In my application i have developed a code to draw an image from pixel data present in byte array. i get this byte array by reading an image file present in a location. I was succesfully displaying (.png, .gif, .jpg, .bmp) but when i tried to display .j2k and .jp2 images using the same code my application displays blank or doesn't display image at all. I came to know that windows doesnot support .jp2 and .j2k images. Now my doubt is if windows doesnot support them can i be able to display those (.jp2 and .j2k) images on my dialog (assuming i have correctly coded to display an image from byte array of a image file)? Thanks!

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        Use CxImage[^].

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups