Menu

#4 png file support

Future
open
nobody
None
5
2015-05-09
2005-01-24
No

It whould be nice if there is an support for png files,
these files are alot smaller then bmp and have still a
great quality.

Discussion

  • Rolf Stahl

    Rolf Stahl - 2005-04-27

    Logged In: YES
    user_id=919009

    Launch4J uses the BMP-format, because this is used by
    windows-native-graphic-device. If Grzegorz wants to support
    PNG, he has to implement the whole libpng to decode PNGs to
    BMP format at runtime. This will bloat the launcher extremly.

    Reagrds,
    octane

     
  • Wiebren Wijbrands

    Logged In: YES
    user_id=673441

    the whole libpng or only the reading part ?

     
  • Rolf Stahl

    Rolf Stahl - 2005-05-02

    Logged In: YES
    user_id=919009

    Well, the reading part and the core functions. But only this
    will bloat the launche. One of the biggest features is its
    small size. If you are able to use smaller image in case of
    PNG support, you'll have a bigger launcher. You see?

     
  • Wiebren Wijbrands

    Logged In: YES
    user_id=673441

    you can ofcourse use png if it's in favor of the launcher size. I
    mean a 320x240 BMP picture is no matter it's contents
    240KiB.

    can you tell the sizes of the core+reading functions of pnglib?

     
  • Wiebren Wijbrands

    Logged In: YES
    user_id=673441

    forgot to mention that a PNG file is in a worst case scenario
    probably only a 3th of the size of the BMP.
    So with the 240KiB 320x240sized picture it whould be say
    76KiB that whould leave 164KiB for pnglib before your size
    equals the bitmap.

     
  • Rolf Stahl

    Rolf Stahl - 2005-05-07

    Logged In: YES
    user_id=919009

    Well, thinking about this facts: you are right. Lets see,
    what Grzegorz thinks about this.

     
  • Frank-Michael Moser

    Logged In: YES
    user_id=846877

    But how about to let the user supply a png which on creation
    of the installer which finally is transformed to a bitmap.
    Of course this will not reduce the launcher's size but it
    would bring more freedom to the developer (not being forced
    to also create a bmp copy from his png).

    Also how about to take transparency into account. Here is an
    MSDN article about transparency with bmp:
    http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnargdi/html/msdn_transblt.asp

    Then on translating a png with transparency the "magic
    masking" of the bmp could be done on creating the launcher.

     
  • Peter Centgraf

    Peter Centgraf - 2005-11-22

    Logged In: YES
    user_id=431096

    I would also like to see both of the features mentioned here: transparency (i.e.
    non-rectangular splash screens) and support for PNG. For my uses, file size is
    not critical, so either runtime or build-time PNG support would be acceptable.

     
  • Martin von Gagern

    Logged In: YES
    user_id=733620
    Originator: NO

    I'm currently working on a ImageIO service provider that allows writing of ICO files. Give me a few more days, and conversion from anything that ImageIO can read into ICO should be no problem.

     
  • Martin von Gagern

    Logged In: YES
    user_id=733620
    Originator: NO

    I'm still working on the reast of my project, but the icon writer should be fairly usable already. You can access the sources via SVN:
    http://jnori.svn.sourceforge.net/viewvc/jnori/trunk/imageio-icons/

     
  • hilt2

    hilt2 - 2010-03-27
     
  • Grzegorz Kowal

    Grzegorz Kowal - 2015-05-09
    • Group: --> Future
     

Log in to post a comment.