Hi,
I've Pagescript 4.2.0 (the last version of PS for Clipper).
In a old software of mine I use PSBitmap() to print a logo
on the top of a document.
Reading the documentation I've found that omitting 3rd and
4th parameter, I can print the bitmap file in its original
size, and that providing the nTransColor (6th) it's possible
to have a transparent bmp.
I've tried several times with different bmp but the result
is wrong: the printed bmp is very little (like a 32x32
icon) and it's not transparent using no matter what color.
There is anyone that has successfully used this function?
Dear marco.b...:
On Friday, October 13, 2017 at 9:58:42 AM UTC-7, marco.b...@gmail.com wrote:
Hi,
I've Pagescript 4.2.0 (the last version of PS for Clipper).
In a old software of mine I use PSBitmap() to print a logo
on the top of a document.
Reading the documentation I've found that omitting 3rd and
4th parameter, I can print the bitmap file in its original
size, and that providing the nTransColor (6th) it's possible
to have a transparent bmp.
I've tried several times with different bmp but the result
is wrong: the printed bmp is very little (like a 32x32
icon) and it's not transparent using no matter what color.
There is anyone that has successfully used this function?
So can you:
- verify that you are calling this function with the "path\filename" of the full size bitmap;
- show us how you are calling this function?
What happens is you supply reasonable numbers for parameter #3 and #4?
David A. Smith
Hi all,
sorry to bother....
To find a solution I've tried to recompile the demo
program that comes with Pagescript for Clipper. I never
done it in the past because an exe was provided with
the libs. In order to see why I get this strange result
I came to decision to recompile a source that wasn't
touched by me (maybe there are errors in my code that
i'm not able to find). The demo file is compiled, then
linked with standard libraries and pscript lib, oslib
and __wait_b.obj file. The output is 40kb smaller than
the original (!) and when launched returns immediately
to command prompt. I'm not able to find the reason of
a such behaviour. Any help?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 70:25:38 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,356,840 |