Thank you. Specifying the image dimensions did the trick. Now that I
have a saved image, I can isolate it from the printer requirements.
On 14-12-09 09:16 AM, Fabien Bodard wrote:
> yes
>
> in pseudo code :
>
> myimage = new image(with, height, backcolor)
>
> paint.begin(myimage)
>
> paint.whatyo
yes
in pseudo code :
myimage = new image(with, height, backcolor)
paint.begin(myimage)
paint.whatyouwant
paint.end
myimage.save("myfile.ext")
2014-12-09 15:00 GMT+01:00 Paul Horechuk :
> The actual purpose of the code is to get rid of the DrawingArea. I have a
> program that currently prin
The actual purpose of the code is to get rid of the DrawingArea. I have a
program that currently prints an area (not an image/Picture/DrawingArea). It
uses Begin(MyPrinter), various Paint commands, and Image.Load to position text
and graphics, directly to the printer. The routine does work.
The
Le 8 déc. 2014 22:35, "Paul Horechuk" a écrit :
>
> Kubuntu 14.04 LTS x86_64
> Gambas 3.6.2
> ---
> Dim PageImage as Image
>
> ...
>
> Public Sub Preview()
> PageImage = New Image As "PageImage"
> Paint.Begin(PageImage) ' Bad Format
>PageImage.L
Thank you. I wasn't aware of the dimension option. I will give that a try.
Sent from my ASUS Pad
Jussi Lahtinen wrote:
>The image must have some size, example:
>PageImage = New Image(10, 10) As "PageImage"
>
>
>Jussi
>
>On Mon, Dec 8, 2014 at 11:34 PM, Paul Horechuk wrote:
>
>> Kubuntu 14.04 L
The image must have some size, example:
PageImage = New Image(10, 10) As "PageImage"
Jussi
On Mon, Dec 8, 2014 at 11:34 PM, Paul Horechuk wrote:
> Kubuntu 14.04 LTS x86_64
> Gambas 3.6.2
> ---
> Dim PageImage as Image
>
> ...
>
> Public Sub Previ
Kubuntu 14.04 LTS x86_64
Gambas 3.6.2
---
Dim PageImage as Image
...
Public Sub Preview()
PageImage = New Image As "PageImage"
Paint.Begin(PageImage) ' Bad Format
PageImage.Load("picture.jpg", 0, 0, 100, 100)
Paint.End
End
-