It looks good to me, thanks Charlie!
Search found 518 matches
- Friday 11th May 2018 2:14pm
- Forum: General
- Topic: Highlight next file in list after deletion
- Replies: 7
- Views: 9408
- Friday 11th May 2018 9:35am
- Forum: Lounge
- Topic: Gambas 3.11 is out
- Replies: 13
- Views: 20055
Re: Gambas 3.11 is out
...is NÒT included in the Ubuntu 18.04 repositories!... Could you try again as this might have been sorted earlier this week:- https://translate.google.com/translate?hl=en&sl=es&u=https://www.gambas-es.org/viewtopic.php%3Ff%3D1%26t%3D6934&prev=search I haven't upgraded my Lubuntu yet be...
- Thursday 10th May 2018 3:31pm
- Forum: General
- Topic: Highlight next file in list after deletion
- Replies: 7
- Views: 9408
Re: Highlight next file in list after deletion
On second thoughts, I probably should have explained my app as an example of what I wanted to do; When I open my BatCallSorter I view a folder containing short bat recordings (...the recordings are short, not necessarily the bats). The app shows a spectrogram image for each highlighted file. As I 'a...
- Thursday 10th May 2018 3:16pm
- Forum: General
- Topic: Highlight next file in list after deletion
- Replies: 7
- Views: 9408
Re: Highlight next file in list after deletion
Hi Steve, I tried my program again without issue, the next file is selected and the program closes without any errors. See here http://www.cogier.com/stevedee/stevedee-20180510-1.webm . I'm using Linux Mint 18.3 with the Cinnamon desktop and Gambas 3.10 Or did I miss the point due to being so old? ...
- Thursday 10th May 2018 12:13pm
- Forum: General
- Topic: Highlight next file in list after deletion
- Replies: 7
- Views: 9408
Re: Highlight next file in list after deletion
Hi Charlie, thanks for your input. Unless I'm missing something, I don't think your solution meets the requirements of highlighting the next file in the list after the one that has been deleted. It seems to me that the FileView control should have included an "Index" property (as the ListB...
- Wednesday 9th May 2018 11:03am
- Forum: General
- Topic: Highlight next file in list after deletion
- Replies: 7
- Views: 9408
Highlight next file in list after deletion
I find it annoying when working through a list of files in a FileChooser, that when I delete one, I lose my place. I want the FileChooser to highlight the next file following the deleted one. Recently, when building my BatCallSorter, I fixed this issue in my code by finding the name of the next file...
- Friday 16th March 2018 6:40pm
- Forum: General
- Topic: Individual color values of a pixel?
- Replies: 8
- Views: 14866
Re: Individual color values of a pixel?
I think the problem with blue & red being switched is because Gambas thinks the format of my Gimp image is RGBA (which it reads low byte to high byte) where the hex value 0000ff is interpreted as red. But my Gimp image interprets this as blue (i.e. RRGGBB, high byte to low byte). See http://gamb...
- Friday 16th March 2018 12:05pm
- Forum: General
- Topic: Individual color values of a pixel?
- Replies: 8
- Views: 14866
Re: Individual color values of a pixel?
OK, Take 2. I created a new GUI project and added a button, a text box and 3 labels to the form. Public Sub btnGetData_Click() Dim hImage As Image Dim Pixels As Integer[] Dim intPixie As Integer hImage = Image.Load(txtImageFile.Text) 'the test image Pixels = hImage.Pixels intPixie = Pixels[1] Label1...
- Friday 16th March 2018 9:48am
- Forum: General
- Topic: Individual color values of a pixel?
- Replies: 8
- Views: 14866
Re: Individual color values of a pixel?
...how can I extract the integer value for each of the red, green and blue channels for that pixel? I think you need the gb.Image.Effect component, and basically do something like:- hImage = Image.Load(strFilePath) 'load photo hHisto = hImage.Histogram() For index = 0 To 255 lngRedPixel = hHisto[Im...
- Monday 5th March 2018 8:18pm
- Forum: General
- Topic: Image manipulation
- Replies: 7
- Views: 10220
Re: Image manipulation
...and here is an example using my code.
The following 2 images where time-lapse photos taken with my trail-cam:
...and here is the result...
only unique pixels in image1 are reproduced in image3.
The following 2 images where time-lapse photos taken with my trail-cam:
...and here is the result...
only unique pixels in image1 are reproduced in image3.