Re: [Gambas-user] gambas3 gtk printer object problems

2012-09-16 Thread Fabien Bodard
And Qt can't use color gradient Le 16 sept. 2012 22:51, "Charlie Reinl" a écrit : > Salut, > > one more thing I remarked, gtk prints ~16 times faster then qt4. > using a 35 pages pdf file > gtk = ~ <1 sec./page > qt4 = ~ 16 sec./page > > printing to pdf-File > -- > Amicalement > Charlie > > > >

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
And joyful thanks to Benoît too, If I interpret that correctly, that will also convert any partially transparent areas to fully opaque. I haven't tested it yet (soon to be remedied) but my guess is that it will look much better than my simplistic method where, for example, anti-alias artifacts may

Re: [Gambas-user] gambas3 gtk printer object problems

2012-09-16 Thread Charlie Reinl
Salut, one more thing I remarked, gtk prints ~16 times faster then qt4. using a 35 pages pdf file gtk = ~ <1 sec./page qt4 = ~ 16 sec./page printing to pdf-File -- Amicalement Charlie -- Everyone hates slow websites.

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
Success. Thank you William. # It was the Color.Transparent that did not work. From reading the docs it says that this constant has a value of -1. My black screen (inverted Alpha, but don't ask me what that means) has pixels with the value &HFF00. So your fix works when I write it like this $h

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread Benoît Minisini
Le 16/09/2012 17:55, RICHARD WALKER a écrit : > I have hacked the OnScreenDisplay example project to allow me to > display user-entered text instead of the time, and to permit > interactive tweaking of colours and depth of 3D effect and font size. > > I also added a way to save the result to a png

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
Shucks. Too bad - it looked so simple, and it was quick. Trouble is, it didn't do anything - at least, nothing discernible in the result - still a black background. On the up-side, I know that my crude and slow "If pixel_colour = &HFF00 Then pixel_colour = &H00FF" will actually do what I n

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
That looks like it will beat the socks off my pixel by pixel examination and change (still running after 2-3 hours). I'll try it now and get back with the result as soon as ... Richard -- Everyone hates slow websites. So

[Gambas-user] SOLVED gambas3 gtk printer object problems

2012-09-16 Thread Charlie Reinl
Am Sonntag, den 16.09.2012, 16:59 +0200 schrieb Benoît Minisini: > Here are a few comments and the fixes you will get with revision > #5170: > > - You must reset the FirstPage and LastPage properties before calling > Print() on each PDF page. Otherwise nothing is printed: it tries to > always pr

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread William Cabrera
Hi, you can use something like $hImage = $hImage.Replace(Color.Transparent, Color.White) -- William Cabrera http://willicab.gnu.org.ve 2012/9/16 RICHARD WALKER > I have hacked the OnScreenDisplay example project to allow me to > display user-entered text instead of the time, and to permi

[Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
I have hacked the OnScreenDisplay example project to allow me to display user-entered text instead of the time, and to permit interactive tweaking of colours and depth of 3D effect and font size. I also added a way to save the result to a png file and now I am trying to copy it to the clipboard as

Re: [Gambas-user] gambas3 gtk printer object problems

2012-09-16 Thread Benoît Minisini
Le 15/09/2012 19:57, Charlie Reinl a écrit : > Salut Benoît, > > I try to stay in the thread. > On gtk and qt4 printer - setup, if you enter at 'pages' (from-to) > a higher number into 'from' then in 'to' the printer-object set the 'to' > to 'from' , but keeps the old 'from' value. > > 'from' = 10

[Gambas-user] gambas3, IDE search and replace don't work as expected

2012-09-16 Thread Karl Reinl
Salut, gambas3 rev 5165 , IDE search and replace don't work as expected. - Searching in current file. - fill find and replace. - push 'next' button. - you will stay on the first item found - push 'replace' button, the item will be replaced, and the cursor keeps staying