Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi

Yes, ImageMagick would do what I want, but I don't want to have to build bindings for ImageMagick across multiple OSs.

This may be an X-Y problem. The issue is that this is for an in-house build for an Eclipse Rich Client Platform Application. For Eclipse RCP, you can build all OS applications on one system, because the "executable" is really a bundled launcher. So the Eclipse folks give you the executable for all OSs in the Eclipse bundle, and you copy it to the name of your application. The executable then loads your Rich Client Application java code . So concievably, you can build Win32, linux, sparc, hp-ux Rich Client applications all from a Mac OS X machine (for example).

The trick is that the windows executable has the icon embedded in it, and I'm trying to figure out how to change the icon in the executable. Win32::Exe can change the icon of a windows executable given an .ico file, and seems to be pure Perl. However, I have a set of .bmp files that need to be converted to .ico, then I can embed them.

Eventually we may distribute this setup to other people/systems and the requirement to have/install/build ImageMagick side task seems a bit like overkill. But then again, I can't spend days looking into it, so ImageMagick might have to do.

Thanks for the input. - J

In reply to Re^2: Merge multiple BMP images into ICO files by jimbojones
in thread Merge multiple BMP images into ICO files by jimbojones

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-25 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found