Search found 14 matches

by fnaudeau
Tue Mar 14, 2017 7:02 pm
Forum: Image Processing & Document Imaging
Topic: Draw text interline
Replies: 1
Views: 7477

Draw text interline

Hello,

I have used the DrawText function and remark that the interline spacing is quite large.
Is there a way to set/specify it ?

Thanks
Frédéric
by fnaudeau
Thu Feb 09, 2017 5:12 pm
Forum: Image Processing & Document Imaging
Topic: DrawText Letter spacing
Replies: 1
Views: 4017

DrawText Letter spacing

Hello,

I have used the DrawText function and remark that the letter spacing is quite large.
Is there a way to set/specify it ?

Thanks
Frédéric
by fnaudeau
Mon Jan 02, 2017 4:38 pm
Forum: Image Processing & Document Imaging
Topic: Combine with transparency
Replies: 1
Views: 22199

Combine with transparency

Hi, Is there a simple way to combine an image, which has some transparencies, with another one ? Just imagine ImageA.png with some transparent areas. ImageB.jpg a normal image. (ImageA + ImageB) will be ImageA and instead of transparency, we see parts of ImageB ( Like a layer in Photoshop ). It simu...
by fnaudeau
Mon Jan 02, 2017 12:58 pm
Forum: Image Processing & Document Imaging
Topic: LUT Look Up Table
Replies: 2
Views: 4742

Re: LUT Look Up Table

Hello, Here is my proposal solution to code a LUT function. Tell me if you find an optimization on it: public void ApplyLut(int[] lookupTableRed, int[] lookupTableGreen, int[] lookupTableBlue) { int imageWidth = _gdPictureImaging.GetWidth(_image); int imageHeight = _gdPictureImaging.GetHeight(_image...
by fnaudeau
Thu Aug 18, 2016 11:07 pm
Forum: Image Processing & Document Imaging
Topic: Image Mask combine
Replies: 2
Views: 4640

Image Mask combine

Hello, I'm migrating from LeadTools to GDPicture, and I'm looking for an equivalent of FeatherAlphaBlendCommand : Combines image data from two images with feathering. The two images can be combined with variable opacity applied by specifying the region of a fade mask image. It's useful to merge an i...
by fnaudeau
Thu Aug 18, 2016 11:03 pm
Forum: Image Processing & Document Imaging
Topic: Mask region
Replies: 1
Views: 3882

Re: Mask region

Hello,

No idea for my request ?

Frédéric
by fnaudeau
Thu Aug 18, 2016 3:31 pm
Forum: Image Processing & Document Imaging
Topic: LUT Look Up Table
Replies: 2
Views: 4742

LUT Look Up Table

Hello,

Is there a way to apply a LUT ( Look Up Table ) by passing Red, Green and Blue arrays ?
I didn't find a function to achieve that directly.

Many thanks.
Kind regards,
Frédéric
by fnaudeau
Tue Aug 09, 2016 12:28 am
Forum: Image Processing & Document Imaging
Topic: Cloning issue
Replies: 3
Views: 4875

Re: Cloning issue

Hi, The CreateClonedGdPictureImage will create a new Id for a copy of the picture but using the same GdPictureImaging object ? If I instantiate a new GdPictureImaging, will this new Id can be used to retrieve the picture ? Is this new Id independant of the GdPictureImaging instance ? Many thanks Kin...
by fnaudeau
Tue Aug 02, 2016 3:28 pm
Forum: Image Processing & Document Imaging
Topic: Mask region
Replies: 1
Views: 3882

Mask region

Hello,

Is it possible to select a region from a point by selecting a range of color ? Like a magic wand ?
And after this to make this region transparent ?

Thanks
Kind regards
by fnaudeau
Tue Aug 02, 2016 2:30 pm
Forum: Image Processing & Document Imaging
Topic: Changing bit depth
Replies: 1
Views: 4319

Changing bit depth

Hello, I looking for an equivalent of LeadTools command "ColorResolutionCommand". This function is used to change the bits per pixel of an image. Is it possible with GDPicture ? Here is the LeadTools call: ColorResolutionCommand cmd = new ColorResolutionCommand(); cmd.Mode = ColorResolutio...
by fnaudeau
Tue Aug 02, 2016 10:51 am
Forum: Image Processing & Document Imaging
Topic: Cloning issue
Replies: 3
Views: 4875

Cloning issue

Hello, I have created a class which embed a GdPictureImaging as member and a "int" for image Id. I wanted to implement the ICloneable interface in order to create a new instance of my class. My problem is how to achieve this clone that will duplicate the GdPictureImaging and the associate ...
by fnaudeau
Sun Jan 04, 2015 4:24 pm
Forum: Image Processing & Document Imaging
Topic: JPEG Thumbnail
Replies: 5
Views: 4653

Re: JPEG Thumbnail

Hello, Well, I use the following code: GdPictureImaging imaging = new GdPictureImaging(); int id = imaging.CreateThumbnailHQ(image.MediaPath, 0, 0, imaging.ARGB(255,255,0,0)); imaging.SaveAsBMP(id, thumbnailPath); imaging.ReleaseGdPictureImage(id); It works, but it generates a thumbnail instead of g...
by fnaudeau
Sat Jan 03, 2015 5:10 pm
Forum: Image Processing & Document Imaging
Topic: JPEG Thumbnail
Replies: 5
Views: 4653

Re: JPEG Thumbnail

Hi Loïc, CreateThumbnailHQ doesn't seem to "only" read the embedded thumbnail. First, we have to load the image to get imageId, then call the CreateThumbnailHQ. These operations takes too much time. Normally an extraction of embedded JPEG takes around 15 milliseconds which is not the case ...
by fnaudeau
Thu Dec 25, 2014 8:12 pm
Forum: Image Processing & Document Imaging
Topic: JPEG Thumbnail
Replies: 5
Views: 4653

JPEG Thumbnail

Hello,

I wanted to load the embedded thumbnail of a JPEG image as fast as possible. I didn't find a way to do it. Indeed, CreateThumbnail and Create ThumbnailHQ seem to load the complete image and resized it, so it's not very efficient. Can someone guide me on how to do that ?

Many thanks.
Frédéric.