Hotspots have different gamma in HTML5 vs Flash

  • Hotspots in HTML5 have a lower gamma/contrast -- look flatter -- than in Flash. This can be a big problem when the hotspot must match the background. For example:

    HTML5 hotspot

    Flash hotspot

    In the Flash example you only know that the hotspot is turning on/off by a slight difference in image resolution. In HTML5 the hotspot area is obvious and a big problem for this type of use.

    Can this be fixed?

    [Update:] This problem appears in Firefox and Chrome on PC (Windows 7x64). It does not appear in IE11. Nor does it appear in iOS devices (checked Safari, Chrome and FF). It does not seem to be a problem in Safari on Mac but I only have a virtual Mac so can't be certain. So... related to the FF/Crome renderer?

  • Hi,

    the problem is the color-profile in the hotspot image.

    Browsers with color-profile support will use it to change the colors of the image.

    The krpano-tools (and some other browsers and also the Flashplayer) don't have color-profile support and will ignore any embedded color profiles.

    Therefore the differences between the pano image (processed by the krpano-tools) and the hotspot-image.

    That means try to convert your images to sRGB before using krpano (images without embedded color profile are handled as sRGB images).

    E.g. as test you can run your hotspot image through the krpano tools - e.g. this way:

    Code
    krpanotools64 maketiles hotspot.jpg hotspot_without_color_profile.jpg 0


    then the image will be loaded and saved again as jpeg by krpano, but this way with ignored/skipped color-profile. Now the hotspot and the pano would look the same because both are color-profile-less.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!