[Gambas-user] Bad Image format
Paul Horechuk
phorechuk at ...626...
Tue Dec 9 01:08:16 CET 2014
Thank you. I wasn't aware of the dimension option. I will give that a try.
Sent from my ASUS Pad
Jussi Lahtinen <jussi.lahtinen at ...626...> 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 <horechuk at ...981...> wrote:
>
>> 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
>>
>> ---------------------------------------------------
>>
>> Could someone please explain?
>>
>> --
>> Think Free ...
>> Use Open Source Software
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>------------------------------------------------------------------------------
>Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>with Interactivity, Sharing, Native Excel Exports, App Integration & more
>Get technology previously reserved for billion-dollar corporations, FREE
>http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list