Search found 518 matches

by stevedee
Sunday 4th April 2021 8:35am
Forum: General
Topic: OpenGL via library linking
Replies: 5
Views: 4630

Re: OpenGL via library linking

...Which is why this thread on the Spanish forum caught my eye. https://h6ctdsfmvw4rqzto4rgorow3du-jj2cvlaia66be-foro-gambas-es-org.translate.goog/viewtopic.php?f=1&t=8051&p=48521&highlight=opengl&sid=2e108413853923284e5253b4f94ddd97#p48521 They are implementing calls to OpenGL dire...
by stevedee
Friday 2nd April 2021 2:54pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

Let me retract the bit about .CR2 files. gnome-raw-thumbnailer uses /usr/share/thumbnailers/gnome-raw.thumbnailer which contains this:- [Thumbnailer Entry] TryExec=gnome-raw-thumbnailer Exec=gnome-raw-thumbnailer -s %s %u %o MimeType=image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crw;image/x-dcra...
by stevedee
Friday 2nd April 2021 2:35pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

There must be some magic in the code. I double checked my code, made no changes et voilá: it works. Great stuff. Thank you. You are very welcome! ... Dolphin and Nautilus ... both are able to show a tiny preview of DNG files... I'm 95% sure that gnome-raw-thumbnailer is installed on your system, an...
by stevedee
Wednesday 31st March 2021 6:10pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

01McAc wrote: Wednesday 31st March 2021 5:54pm hmm, there must be something wrong in my code...
I suggest you paste the libraw section of your code.
by stevedee
Wednesday 31st March 2021 2:59pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

Thanks for sending me the image Detlef.

I can extract the jpeg from within the RAW file;
01McAc_jpgInRaw.png
01McAc_jpgInRaw.png (281.29 KiB) Viewed 6142 times
...and the jpeg image file details (which is a 2.3MB file) look like this;
01McAc_jpeg.png
01McAc_jpeg.png (51.6 KiB) Viewed 6142 times
by stevedee
Monday 29th March 2021 5:08pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

OK, sorry!

Forget Firefox Send, it looks like the service was disabled last September ...well nobody told me!
by stevedee
Monday 29th March 2021 4:58pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

...I have been thinking about it and came to the conclusion that my DNG's don't have any embedded jpg as I am shooting raw only. libraw tries to extract the jpg and exiftool generates thumbnail out of the DNG I guess... When you shoot RAW only on a camera, it should produce a RAW file with a jpeg c...
by stevedee
Wednesday 24th March 2021 6:03pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

Don't know if you are still interested ...What I can do is just copy and paste the code but... ....I don't understand how a (any) library must be declared. How did you figure that out? Its better not to just copy any of my examples...its much better to understand how its working and then write your...
by stevedee
Tuesday 23rd March 2021 7:37pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16609

Re: Component to preview files in a directory

... I stumbled upon the libraw library earlier and looked for an example how to use libraries in general and libraw specifically... Don't know if you are still interested, but as its a poor TV night, I thought I'd take a look. Turns out that the libraw C-API plays nice with Gambas. 'Just some demo ...
by stevedee
Tuesday 23rd March 2021 10:43am
Forum: Project showcase
Topic: Colour Classifier
Replies: 5
Views: 5863

Re: Colour Classifier

I found this to be interesting. Your list of colours was relatively small, so I went and found... ...The CSV has 2148 named colours with Decimal, Hex and RGB details. The fact that there are 16,000,000 colours on a modern computer means that the hit rate is only around 1 in every 7500 colours... Hi...