Search found 15 matches

by tailormade
Thu Apr 16, 2020 9:38 pm
Forum: GFL SDK
Topic: Dying on Linux
Replies: 2
Views: 4526

Re: Dying on Linux

We upgraded to GCC 8.3 and that made no difference. It still dies in reading any format.
by tailormade
Tue Apr 14, 2020 12:02 am
Forum: GFL SDK
Topic: Dying on Linux
Replies: 2
Views: 4526

Dying on Linux

I need to use GFL 3.40 for a project where FreeImage will not read a particular form of TIFF, but GFL will. Unfortunately when I create a new executable (using GCC 4.4.7) and try to read any format (well, I have just tried JPG, PNG, and TIFF) it dies (segmentation fault) in reading the input file. I...
by tailormade
Wed Oct 28, 2009 10:53 pm
Forum: GFL SDK
Topic: Stripes?
Replies: 5
Views: 1323

Re: Stripes?

What parameter do you use to go from 1-bit to 8-bit greyscale?
by tailormade
Fri Oct 23, 2009 9:52 pm
Forum: GFL SDK
Topic: Stripes?
Replies: 5
Views: 1323

Re: Stripes?

Because I need to go from 1-bit to 8-bit grey. At least according to the documentation gflChangeColorDepth only allows you to reduce the number of colors, not increase it.
by tailormade
Fri Oct 23, 2009 12:00 am
Forum: GFL SDK
Topic: Stripes?
Replies: 5
Views: 1323

Stripes?

I have a 1-bit TIFF file that I need to save as an 8-bit greyscale TIFF. I have tried two ways: 1) Define a second greyscale bitmap and use gflBitblt to copy of one to another. Causes an Unknown format error 2) Define a second greyscale bitmap and go through pixel by pixel and use gflGetColorAt/gflS...
by tailormade
Thu Oct 22, 2009 3:19 am
Forum: GFL SDK
Topic: GFL_LOAD_BINARY_AS_GREY
Replies: 0
Views: 664

GFL_LOAD_BINARY_AS_GREY

I have a binary tiff file. When I load it using the default load parameters I get a binary file, but when I used GFL_LOAD_BINARY_AS_GREY I get a totally white image. I need to be able to save the tiff as a greyscale (the decoder I must use does not support binary files). Is there 1) a fix for the GF...
by tailormade
Mon Jul 27, 2009 1:55 pm
Forum: GFL SDK
Topic: Linux Crash
Replies: 1
Views: 646

Linux Crash

Every three or four times I run under V3.11 on 32-bit Linux the process will crash with a "double release" of memory. This is converting the same file. It works for two or three times an then crashes. Then it will work again for a few times, then crash again. Any idea what is going on?
by tailormade
Fri Nov 03, 2006 7:33 pm
Forum: GFL SDK
Topic: Set Resolution
Replies: 1
Views: 1681

Set Resolution

I am using: bitmap->Xdpi = Resolution; bitmap->Ydpi = Resolution; GFL_ERROR err = gflSaveBitmap( outf, bitmap, &saveparams); to set the X and Y Resolution and then save the file. It works fine for JPEG, but for GIF I always get horizontal resolution of 384 dpi and vertical resolution of 96 dpi. Any ...
by tailormade
Fri Sep 02, 2005 6:55 am
Forum: GFL SDK
Topic: Undefined Symbol in Solaris
Replies: 3
Views: 1937

Re: Undefined Symbol in Solaris

Which version of solaris do you have? I use cc not gcc, perhaps the problem?? Are you sure you use the Sun Compiler (cc)? I am almost positive you are wrong. I tried using cc for my program, but GFL would not link with it so I had to switch to GCC 3.4. I can link with V2.20 and my program compiled ...
by tailormade
Tue Aug 30, 2005 3:40 am
Forum: GFL SDK
Topic: gflAutoCrop
Replies: 6
Views: 2437

Still in 2.40?

I am using V2.40 and I am having the same problem. Did this fix not make it into 2.40?
by tailormade
Thu Aug 18, 2005 5:17 am
Forum: GFL SDK
Topic: Transparent "Stamp"
Replies: 3
Views: 1895

Transparent "Stamp"

I am trying to "stamp" an image with another, smaller image. I can do the basic "image on image" but I need the stamp to be either semi-transparent (modify the alpha channel) or with a transparent background. Neither has worked. I am using the following code: for (int j= 0; j < stamp->Width; j++) fo...
by tailormade
Sat Aug 13, 2005 12:54 am
Forum: GFL SDK
Topic: Undefined Symbol in Solaris
Replies: 3
Views: 1937

Undefined Symbol in Solaris

I am trying to switch to the Solairs sparc 2.40 library. I am using GCC 3.4. When compiling both my program and the examples I get an undefined symbol "__floorf" in libgfl.so. Doing a Google search I can figure out what floorf is used for, but I can't find where it is supposed to come from. Any idea...
by tailormade
Thu Jun 30, 2005 5:01 am
Forum: GFL SDK
Topic: Solaris Compiler
Replies: 3
Views: 1690

Compiler Version

Can you give me more information about the version of the compiler you are using? When I compile both the sample programs and my program, I get two undefined references to __ashrdi3 and __ashldi3. From what I can tell in google searches, undefined references to these two items are usually due to com...
by tailormade
Tue Jun 28, 2005 2:57 am
Forum: GFL SDK
Topic: Solaris Compiler
Replies: 3
Views: 1690

Solaris Compiler

Which compiler are you using for Solairs? There are two major compilers used: Sun Studio (sunwsPRO) and GCC. Unfortunatley they are incompatible with one another. I have been trying to use Sun Studio but it will not link properly and I am guessing you are using GCC. Unfortunately, another toolkit I ...
by tailormade
Sat Jun 25, 2005 6:48 pm
Forum: GFL SDK
Topic: Fill Colors on Linux
Replies: 4
Views: 1760

PM

I have done so. I look forward to the new version.

Scott