1. Fernando Leal
  2. PowerBuilder
  3. Friday, 21 February 2020 15:18 PM UTC

Hi all,  I need convert BMP to BITMAP, How Can I convert this in powerbuilder 10.5? 

Do you have the code or function? 

thanks and regards

 

Fernando.

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 21 February 2020 16:57 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Fernando ;

  FYI: I have written many PB  apps that manipulate BMP's, their meta data or even conversion FROM or TO BMP format from other image types. The key for image introspection, conversion, resizing, etc was to link outside the PB  apps to an external imaging tool. For my image related apps, I mostly have used either "ImageMagick" or "GraphicsMagick" products to perform imaging operations. There are many paid 3rd party imaging tools out there for this as well but, they tend to be very expensive. The above aforementioned tools are open source and thus free.

FYI ...

http://www.graphicsmagick.org

https://imagemagick.org/index.php

  For the ImageMagick product, it includes both a command-line interface and an OCX interface as well. I normally use the OCX interface for image "introspection" and then the command-Line interface for image manipulations.  You could use the OCX all the way through but the CL interface has more options (depending on what your App wants to accomplish image wise).

  The GraphicsMagick product is also free and open source. Its actually a "fork" of "ImageMagick" product but just has been "super tuned" for performance. So if your writing a batch PB App that is blasting through 100K+ images all the time - this product is awesome for through-put.  ;-)

Food for thought.  HTH

Regards ... Chris 

 

Comment
  1. Fernando Leal
  2. Friday, 21 February 2020 17:54 PM UTC
Hi Chris,

very good, thanks.



My intention is to be able to get the GRF code of an image to print on the ZEBRA printer, I am looking for a function, OCX or application that converts a BMP into GRF.

In the 32-bit versions of windows I use the ZIMAGLIT.EXE application but I can no longer use it since it does not work on 64-bit operating systems.



regards,

Fernando.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 21 February 2020 16:28 PM UTC
  2. PowerBuilder
  3. # 1

BMP is the file extension for the BITMAP format.

What exactly are you trying to do?

 

Comment
  1. Fernando Leal
  2. Friday, 21 February 2020 17:54 PM UTC
Hi Smith,



My intention is to be able to get the GRF code of an image to print on the ZEBRA printer, I am looking for a function, OCX or application that converts a BMP into GRF.

In the 32-bit versions of windows I use the ZIMAGLIT.EXE application but I can no longer use it since it does not work on 64-bit operating systems.



thanks and regards,

Fernando.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.