Search found 22 matches

by _GUI_
Sat Sep 12, 2009 8:19 am
Forum: GFL SDK
Topic: GflAx v2.70 function seems to crash now on XP updated PC's
Replies: 2
Views: 1416

Re: GflAx v2.70 function seems to crash now on XP updated PC's


Do you have any idea what could be happenning? Updating the SDK could solve this? could the users update their SDK without installing again the program?

Strange, the crash occurs in GetPicture? If you update the SDK, you need to rebuild your app

Hi Pierre, I cannot know the exact line at which ...
by _GUI_
Sun Sep 06, 2009 7:11 am
Forum: GFL SDK
Topic: GflAx v2.70 function seems to crash now on XP updated PC's
Replies: 2
Views: 1416

GflAx v2.70 function seems to crash now on XP updated PC's

Hi Pierre and all,

A couple users of one on my programs ( Histogrammar ), using GFL SDK VERSION 2.70, are recently experiencing problems after their XP machines seem to have been updated .

I attach 2 of these screens since I have no means to know the exact Sdk function that crashes, but seems to ...
by _GUI_
Mon Jan 19, 2009 5:21 pm
Forum: GFL SDK
Topic: GflAx saves GIF files with aspect ratio=0.250
Replies: 8
Views: 4316


Anyway I would like to report this minor BUG to the author of GflSDK, just a 1:1 aspect ratio by default on GIFs would be appreciated.

Strange, i use 1:1 ratio, could you send me a gif sample?

Sure, here you are: http://www.guillermoluijk.com/article/superccd/histosuperccd.gif

It displays OK ...
by _GUI_
Mon Jan 19, 2009 12:33 am
Forum: GFL SDK
Topic: GflAx saves GIF files with aspect ratio=0.250
Replies: 8
Views: 4316

As there is nothing in GFLSDK you can modify your file after the save operation and change the corresponding value in the file's header :
http://www.u229.no/stuff/GIFFormat/
I try to change this value in your file then the file is directly well displayed in photoshop.

Cool, right what I needed ...
by _GUI_
Sun Jan 18, 2009 1:31 am
Forum: GFL SDK
Topic: GflAx saves GIF files with aspect ratio=0.250
Replies: 8
Views: 4316

dominique wrote:In photoshop, you have an option : Image > Pixel Aspect Ratio > Square
Dominique, that is exactly what I did to obtain the former image correctly displayed.
My qestion is: is there anything that can be done in the Gfl SDK to obtain .GIF files straight in a correct 1:1 aspect ratio?

BR
by _GUI_
Wed Jan 14, 2009 7:29 pm
Forum: GFL SDK
Topic: GflAx saves GIF files with aspect ratio=0.250
Replies: 8
Views: 4316

So what could be the solution? this is how GIF files look when opened in Photoshop (up straight from GflSDK, bottom after correcting aspect ratio to sqare):

http://img79.imageshack.us/img79/9670/dibujogh3.jpg

The original GIF can be found here: http://www.guillermoluijk.com/article/superccd ...
by _GUI_
Mon Sep 01, 2008 4:01 pm
Forum: GFL SDK
Topic: GflAx saves GIF files with aspect ratio=0.250
Replies: 8
Views: 4316

GflAx saves GIF files with aspect ratio=0.250

When I save a GIF file using GflAx from VB, I get images that have a pixel aspect ratio of 0.250 instead of being square pixels. This is no problem in Windows browsers that ignore the ratio tag, but Photoshop recognizes it and open the images stretched in the horizontal direction.

By simply ...
by _GUI_
Sat Apr 12, 2008 4:30 pm
Forum: GFL SDK
Topic: Problem loading/reading Gray scale TIFF
Replies: 2
Views: 2322

Problem loading/reading Gray scale TIFF

Hi all,

I am reading a gray scale TIFF, i.e. an image where each pixel value just appears once and all pixels should be interpreted as R=G=B.

I am using 16-bit GflSDK from VB with this code to read it:


Dim GflParams As GFL_LOAD_PARAMS
Dim PtrBitmap As Long
Dim GflInfo As GFL_FILE_INFORMATION ...
by _GUI_
Tue Nov 13, 2007 2:43 pm
Forum: GFL SDK
Topic: Who uses GFLSDK?
Replies: 19
Views: 52952

I use it a lot. In all my particular experiments regarding image processing. I have also developed some pieces of software for image processing where I use it:

Tone Hacker : a program to rip tones from B&W toned pictures:
http://www.guillermoluijk.com/software/tonehacker/index.htm

Histogrammar ...
by _GUI_
Sat Sep 15, 2007 2:04 am
Forum: GFL SDK
Topic: GetPicture con TIF
Replies: 2
Views: 2059

that happens to me with the GIF files generated by the xnview library, while other GIF are correctly open.

did you experience that problem with GIF generated by xnview?
by _GUI_
Tue Jun 12, 2007 10:39 pm
Forum: GFL SDK
Topic: Saving TIFF in 16 bits, is it possible?
Replies: 11
Views: 8047

Great Pierre!!! I have finally managed to load two 16-bit TIFFs, process them in the range 0..65535 and put them back into a 16-bit TIFF file, all from VB.
I am really very happy :)

I have written a program to generate virtually noise free images from two shots and it processes two 8Mpx 16-bit TIFF ...
by _GUI_
Tue Jun 12, 2007 9:28 am
Forum: GFL SDK
Topic: Saving TIFF in 16 bits, is it possible?
Replies: 11
Views: 8047

Unfortunately not.

But I have seen that the signed/unsigned controversia is quite common when dealing with DLL's from VB and can be solved using simple functions as:

Option Explicit

Private Const OFFSET_2 = 65536
Private Const MAXINT_2 = 32767

' Converts from what Color.Red produces into ...
by _GUI_
Tue Jun 12, 2007 12:43 am
Forum: GFL SDK
Topic: Saving TIFF in 16 bits, is it possible?
Replies: 11
Views: 8047

GFL_COLOR problem

Perfect, at last I could read 16-bit TIFF files in their original range!!!

Problem: the The GFL_COLOR structure is defined in C as unsigned int (0..65535) but when called from VB values greater than 32767 are returned as negative, forcing some additional uncomfortable checking.

For instance ...
by _GUI_
Mon Jun 11, 2007 9:01 am
Forum: GFL SDK
Topic: Saving TIFF in 16 bits, is it possible?
Replies: 11
Views: 8047

ok I will try that "GFL_LOAD_ORIGINAL_DEPTH" flag.
I am calling your functions from VB, but I was already using the C libraries according to your examples. Not using the activex component.

Or you mean from VB is absolutely impossible to get the image data in its original 0..65535 range?

Thanks
by _GUI_
Sun Jun 03, 2007 11:58 am
Forum: GFL SDK
Topic: Saving TIFF in 16 bits, is it possible?
Replies: 11
Views: 8047

Yes, here the data will be in the range 0-65535

Hi Pierre, I am sorry to take this again but this is critical to me and after trying I can't manage to read the colour values of 16-bit TIFF files in their original 0..65535 range. Here is a sample of 16-bit TIFF with all 3 channels set to 31612 ...