Search found 15 matches
- Thu Apr 16, 2020 9:38 pm
- Forum: GFL SDK
- Topic: Dying on Linux
- Replies: 3
- Views: 27486
Re: Dying on Linux
We upgraded to GCC 8.3 and that made no difference. It still dies in reading any format.
- Tue Apr 14, 2020 12:02 am
- Forum: GFL SDK
- Topic: Dying on Linux
- Replies: 3
- Views: 27486
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 ...
Re: Stripes?
What parameter do you use to go from 1-bit to 8-bit greyscale?
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.
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 ...
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 ...
- Thu Oct 22, 2009 3:19 am
- Forum: GFL SDK
- Topic: GFL_LOAD_BINARY_AS_GREY
- Replies: 0
- Views: 1062
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 ...
Is there 1) a fix for the ...
- Mon Jul 27, 2009 1:55 pm
- Forum: GFL SDK
- Topic: Linux Crash
- Replies: 1
- Views: 1086
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?
- Fri Nov 03, 2006 7:33 pm
- Forum: GFL SDK
- Topic: Set Resolution
- Replies: 1
- Views: 1954
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 ...
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 ...
- Fri Sep 02, 2005 6:55 am
- Forum: GFL SDK
- Topic: Undefined Symbol in Solaris
- Replies: 3
- Views: 2408
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 ...
- Tue Aug 30, 2005 3:40 am
- Forum: GFL SDK
- Topic: gflAutoCrop
- Replies: 6
- Views: 2937
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?
- Thu Aug 18, 2005 5:17 am
- Forum: GFL SDK
- Topic: Transparent "Stamp"
- Replies: 3
- Views: 2276
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 ...
I am using the following code:
for (int j= 0; j < stamp->Width; j ...
- Sat Aug 13, 2005 12:54 am
- Forum: GFL SDK
- Topic: Undefined Symbol in Solaris
- Replies: 3
- Views: 2408
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 ...
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 ...
- Thu Jun 30, 2005 5:01 am
- Forum: GFL SDK
- Topic: Solaris Compiler
- Replies: 3
- Views: 2150
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 ...
- Tue Jun 28, 2005 2:57 am
- Forum: GFL SDK
- Topic: Solaris Compiler
- Replies: 3
- Views: 2150
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 ...
- Sat Jun 25, 2005 6:48 pm
- Forum: GFL SDK
- Topic: Fill Colors on Linux
- Replies: 4
- Views: 2171
PM
I have done so. I look forward to the new version.
Scott
Scott