PHS Image filter

Hi,

I use a PtWebClient widget to display a HTML page, and I print it out in a
file to finally convert it in a BMP file.

So, I use “phs-to-bmp” filter to do this work. But I need to have the bmp
file in 1 bit color “palette”. So, I tried “phs-to-bmp” option’s as -o1,
wich is that supposed to do that thing, so it’s not work it gives me the
follwing error:

phs-to-bmp -o1 image.phs > image.bmp

"Unknown option ‘-o’ "

It’s not the only option that doesn’t works. So, on my RTP 6.1, this version
of filter is it supposed to have all options implemented or not???

This filter will be perfect for me because I want

  • to create black and white bmp
  • with a variable size

But I also need to be able to translate an applet that generate un PDF
barcode.

Is there another way to print my web page in black and white rather than
True color bmp.

Thanks

Rick

The option -P and -c don’t appear to work either. The D option always
create and empty debug output file?

Does the -p option really apply?

Looks to me like the usage need to be fix.



“Rick” <eric.dionne@eti-gaming.com> wrote in message
news:9nlqtm$f3h$1@inn.qnx.com

Hi,

I use a PtWebClient widget to display a HTML page, and I print it out in a
file to finally convert it in a BMP file.

So, I use “phs-to-bmp” filter to do this work. But I need to have the bmp
file in 1 bit color “palette”. So, I tried “phs-to-bmp” option’s as -o1,
wich is that supposed to do that thing, so it’s not work it gives me the
follwing error:

phs-to-bmp -o1 image.phs > image.bmp

"Unknown option ‘-o’ "

It’s not the only option that doesn’t works. So, on my RTP 6.1, this
version
of filter is it supposed to have all options implemented or not???

This filter will be perfect for me because I want

  • to create black and white bmp
  • with a variable size

But I also need to be able to translate an applet that generate un PDF
barcode.

Is there another way to print my web page in black and white rather than
True color bmp.

Thanks

Rick

Hello Rick

I will log a bug that the usage file should be fixed, but in my usage
message I have no option “-o”. I talked to the developer about what
you are trying to accomplish and he said that we never supported
monochrome bitmaps. The -o1 option would have converted a 24 bit
bitmap to an 8 bit one.

Thanks
Rodney


Mario Charest <mcharest@clipzinformatic.com> wrote:

The option -P and -c don’t appear to work either. The D option always
create and empty debug output file?

Does the -p option really apply?

Looks to me like the usage need to be fix.



“Rick” <> eric.dionne@eti-gaming.com> > wrote in message
news:9nlqtm$f3h$> 1@inn.qnx.com> …
Hi,

I use a PtWebClient widget to display a HTML page, and I print it out in a
file to finally convert it in a BMP file.

So, I use “phs-to-bmp” filter to do this work. But I need to have the bmp
file in 1 bit color “palette”. So, I tried “phs-to-bmp” option’s as -o1,
wich is that supposed to do that thing, so it’s not work it gives me the
follwing error:

phs-to-bmp -o1 image.phs > image.bmp

"Unknown option ‘-o’ "

It’s not the only option that doesn’t works. So, on my RTP 6.1, this
version
of filter is it supposed to have all options implemented or not???

This filter will be perfect for me because I want

  • to create black and white bmp
  • with a variable size

But I also need to be able to translate an applet that generate un PDF
barcode.

Is there another way to print my web page in black and white rather than
True color bmp.

Thanks

Rick