Results 1 to 3 of 3

Thread: supported toDataURL image formats

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    supported toDataURL image formats

    While I was playing around with webgl I've made an interesting detection.
    The support for available image formats of the toDataURL() function has been increased.

    Code :
                 Mac          Mac          Mac          Mac          PC           PC           PC           PC           PC
                Chrome       Safari       Opera        Firefox      Firefox      Opera        Safari       Chrome       IE-9
                9.0.597.98   5.0.3        11.01        4 beta 11    4 beta 11    11.01        5.0.3        9.0.597.98   9.0.7930
    png         +            +            +            +            +            +            +            +            +
     
    jpeg        +            +            +            +            -            +            +            -            +
    var. comp.  +            +                        -            -            +            -            -            +            
     
    jpeg2000    -            +            -            -            -            -            -            -            -
    inc. trans. -            +            -            -            -            -            -            -            -
     
    gif         -            +            -            -            -            -            +            -            -
    bmp         -            +            -            -            -            -            -            -            -
    tiff        -            +            -            -            -            -            -            -            -
    targa       -            +            -            -            -            -            -            -            -


    Especially Safari provides a wide range of formats on Mac.
    The only format that is missing is googles "image/webp" and maybe "image/svg+xml".

  2. #2
    Junior Member
    Join Date
    Feb 2011
    Posts
    2

    Re: supported toDataURL image formats

    Code :
                Mac      Mac      Mac      Mac      PC       PC       PC       PC       PC
                Chrome   Safari   Opera    Firefox  Firefox  Opera    Safari   Chrome   IE-9
                9.0.597  5.0.3    11.01    4  11   4  11   11.01    5.0.3    9.0.597  9.0.7930
    png         +        +        +        +        +        +        +        +        +             
    jpeg        +        +        +        +        -        +        +        -        +
    var. comp.  +        +                -        -        +        -        -        +            
     
    jpeg2000    -        +        -        -        -        -        -        -        -
    inc. trans. -        +        -        -        -        -        -        -        -
     
    gif         +        +        -        -        -        -        +        -        -
    bmp         +        +        -        -        -        -        -        -        -
    tiff        -        +        -        -        -        -        -        -        -
    targa       -        +        -        -        -        -        -        -        -
    webp        +        -        -        -        -        -        -        -        -
     
    + = yes
    - = no
     = buggy

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    1

    Re: supported toDataURL image formats

    Thats good to know.

    Quote Originally Posted by youcan
    Code :
                Mac      Mac      Mac      Mac      PC       PC       PC       PC       PC
                Chrome   Safari   Opera    Firefox  Firefox  Opera    Safari   Chrome   IE-9
                9.0.597  5.0.3    11.01    4  11   4  11   11.01    5.0.3    9.0.597  9.0.7930
    png         +        +        +        +        +        +        +        +        +             
    jpeg        +        +        +        +        -        +        +        -        +
    var. comp.  +        +                -        -        +        -        -        +            
     
    jpeg2000    -        +        -        -        -        -        -        -        -
    inc. trans. -        +        -        -        -        -        -        -        -
     
    gif         +        +        -        -        -        -        +        -        -
    bmp         +        +        -        -        -        -        -        -        -
    tiff        -        +        -        -        -        -        -        -        -
    targa       -        +        -        -        -        -        -        -        -
    webp        +        -        -        -        -        -        -        -        -
     
    + = yes
    - = no
     = buggy

Similar Threads

  1. RGB Internal Texture formats in SC standard
    By Xuzuthor in forum OpenGL SC for Safety Critical Markets
    Replies: 3
    Last Post: 04-05-2010, 07:09 AM
  2. Different paletted texture formats
    By Newbie in forum OpenGL ES general technical discussions
    Replies: 10
    Last Post: 02-20-2009, 05:43 AM

Posting Permissions

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