×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    3

    convert png images to jpeg

    hi!

    who knows how to convert png images to jpeg. please. give me a sample code.

    thanks,
    adneimocne

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    7
    I don't think it's possible with J2ME...

    Am I wrong?

    ciao,
    dw

  3. #3
    Regular Contributor
    Join Date
    May 2004
    Posts
    61
    i can be sure in the midp1.0 you cann't use the jpeg graphic format. so there mybe no methods to convert the format

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    It's possible in theory. But there are no built-in methods, and no libraries that I know of, so you would need to do a lot of hard work.
    First you need to decode the png file. On MIDP 2.0 phones or devices with extension APIs that give you access to the pixel data this would be easy, but with pure MIDP 1.0 it's almost impossible.
    Then you would need to write a jpeg encoder.

    So what I'm saying is: try to think of a simpler solution that doesn't involve jpegs.

    shmoove

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×