Search found 20 matches

by felix
Thu Sep 05, 2013 12:00 pm
Forum: Image Processing & Document Imaging
Topic: ICC Profile
Replies: 3
Views: 1301

Re: ICC Profile

Hello. I tried to use "ICCAddFromFile" but it seems it doesn't work. I have a GdPicture Image available in memory and try to add the profile. After that I save as TIFF. gdStatus = m_GdImage.ICCAddFromFile(ImageID, ICCProfile); gdStatus = m_GdImage.SaveAsTIFF(ImageID, Name, GdTifCompression); gdStatu...
by felix
Tue Jul 30, 2013 11:07 am
Forum: Image Processing & Document Imaging
Topic: Unsharp Mask doesn't work?
Replies: 9
Views: 1829

Re: Unsharp Mask doesn't work?

Hi, we are still on it and testing it with different images. 1. We do have the latest version. 2. My colleague just checked again: With an image from the bigger camera (5d mark ii) the function returns "out of memory". That means: The function works. And it works with "normal" values like 5, 0.5, 40.
by felix
Wed Jul 03, 2013 1:58 pm
Forum: Image Processing & Document Imaging
Topic: Unsharp Mask doesn't work?
Replies: 9
Views: 1829

Re: Unsharp Mask doesn't work?

Thanks, Sami. I just checked again. And by a fortunate coincidence I had to choose another camera to capture the image. Result: If I get the image from a Canon EOS 450D the result is more than visible - it is extreme. If I get the image from a Canon EOS 5D Mark II I don't get any results. Both times...
by felix
Tue Jul 02, 2013 3:17 pm
Forum: Image Processing & Document Imaging
Topic: Unsharp Mask doesn't work?
Replies: 9
Views: 1829

Re: Unsharp Mask doesn't work?

Dear Sami,

would it be possible to get an example from you where I could see the difference you get?

Best,
Felix
by felix
Tue Jul 02, 2013 12:59 pm
Forum: Image Processing & Document Imaging
Topic: Unsharp Mask doesn't work?
Replies: 9
Views: 1829

Re: Unsharp Mask doesn't work?

Hi Sami, unfortunately other values didn't change the result. I tried radius 10, amunt 500 and threshold 5. And I tried radius 20, amount 800 and threshold 3. But the image still looked the same. To check the values I tried the unsharp mask from GIMP 2.8 on my saved TIF image - result is massive vis...
by felix
Fri Jun 28, 2013 11:54 am
Forum: Image Processing & Document Imaging
Topic: Unsharp Mask doesn't work?
Replies: 9
Views: 1829

Unsharp Mask doesn't work?

Good Day, everyone. I tried to use the fxUnsharpMask effect on my image. But I am not able to see any difference with and without the effect. Call: gdStat = m_GdImage.FxUnsharpMask(iGdImgPage, 5, 5, 10); ^- the above values are that bad that you really should see a difference. After using the FxUnsh...
by felix
Thu Jan 24, 2013 2:34 pm
Forum: General discussions
Topic: TIFFTAG_PREDICTOR - How to use it?
Replies: 2
Views: 1193

TIFFTAG_PREDICTOR - How to use it?

G'Day everyone! I tried using the TIFFTAG_PREDICTOR on my image, but it doesn't work the way I thought it would. At first I use TagSetValueString()-method to set tags proper. E. g. predictor, software, artist, orientation, datetime, etc. After that I use SaveAsTIFF(image, name, compression). The ima...
by felix
Tue Nov 29, 2011 12:52 pm
Forum: Image Processing & Document Imaging
Topic: 8bpp grayscale - only 16 colors? why?
Replies: 3
Views: 1316

Re: 8bpp grayscale - only 16 colors? why?

SOLVED!

FxGrayscale() made 256 colors to 16 colors. Without the function, I get the full 256 colors I need.
by felix
Tue Nov 29, 2011 11:26 am
Forum: Image Processing & Document Imaging
Topic: 8bpp grayscale - only 16 colors? why?
Replies: 3
Views: 1316

8bpp grayscale - only 16 colors? why?

Edit: SOLVED! FxGrayscale() made 256 colors to 16 colors. Hi everybody! I have an image as DIB and show this in the GdPicture Viewer. From there I save the image as TIF with GdImage.SaveAsTIFF. Usually this image is a grayscale image with 8bpp and 256 colors. After saving it, it is an image with onl...
by felix
Thu Jul 22, 2010 1:54 pm
Forum: Example requests & Code samples
Topic: TagPhotometricInterp -- possible values?
Replies: 4
Views: 1519

Re: TagPhotometricInterp -- possible values?

Ignore my posts...
I found the error. Your Image-Tools like rotating, despeckle, and so forth, change the compression all the time to LZW. That's the point. Cause of that, the photometric tag changes to RGB. If I change the compression by myself back to G4, everything works fine.
by felix
Thu Jul 22, 2010 8:05 am
Forum: Example requests & Code samples
Topic: TagPhotometricInterp -- possible values?
Replies: 4
Views: 1519

Re: TagPhotometricInterp -- possible values?

Because its not correct. I open the image and rotate the image. After rotating the image I save the image again. After rotating and saving, the Photometric Tag and the Compression has been changed. I don't know why... The compression should be the same as on the image before rotating. (GD_Image.GetT...
by felix
Wed Jul 21, 2010 9:13 am
Forum: Example requests & Code samples
Topic: TagPhotometricInterp -- possible values?
Replies: 4
Views: 1519

TagPhotometricInterp -- possible values?

Hello all, I'd like to set the TagPhotometricInterp for my TIFF image. What are the possible values I may set? I need to set it to (translated from german): White is Zero. I don't know what it's really called... Best, Felix /edit: I set the value with: GD_Image.TagSetValueString(m_TMP_Image, Tags.Ta...
by felix
Mon Jul 12, 2010 1:08 pm
Forum: General discussions
Topic: Tiff Stripes
Replies: 2
Views: 1157

Re: Tiff Stripes

No answer in 6 days?
Isn't there any possibility to save the TIFF as single-strip TIFF?
Or convert a multi-strip TIFF to a single-strip TIFF?
by felix
Wed Jun 23, 2010 9:03 am
Forum: Image Processing & Document Imaging
Topic: Rotate deletes embedded ICC profile?
Replies: 15
Views: 2576

Re: Rotate deletes embedded ICC profile?

Hi Remco,

sorry but I have no solution at the moment.
And Loïc never responded to my last post in this forum.

If I got a solution, I will of course share with you. But I don't think it'll happen soon.

Best,
Felix
by felix
Fri Apr 23, 2010 8:07 am
Forum: Image Processing & Document Imaging
Topic: Rotate deletes embedded ICC profile?
Replies: 15
Views: 2576

Re: Rotate deletes embedded ICC profile?

Hi Loïc, I guess we have a little misunderstanding. I really don't know if you know what I mean or maybe I don't understand what you really mean. So this time I'm trying to explain it better. Let's start at the beginning: The attached Image (3rd post in this thread) comes from a scanner. The scan-so...