Watermarking

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

Post Reply
User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Watermarking

Post by dominique » Tue Oct 21, 2008 4:18 pm

Hi GFLSDK programers !

I don't know how to do water marking and if it's difficult to implement.
Should it be possible to add this kind of skill in GFL?

Rgds
Dom

User avatar
xnview
Author of XnView
Posts: 30220
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Watermarking

Post by xnview » Tue Oct 21, 2008 4:31 pm

You have gflBitBlt :-)
Pierre.

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Tue Oct 21, 2008 4:54 pm

Ok, if you told me it's possible using this function, I think I can do what I want as usual ;)
I'll give some news about this.
Dom

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Tue Oct 21, 2008 5:12 pm

And what is the difference between gflBitblt and gflBitbltEx ?
Maybe the second one change the alpha channel too ?
I'll search some information about invisible watermarking... if someone knows about this ;)
Dom

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Mon Oct 27, 2008 5:28 pm

Ok, I can merge a png with a RGB image using gflBitbltEx.
I try to do the same for greylevel images using gflBitblt and TransparentIndex without success. What is exactly TransparentIndex?
Thx,
Dom

User avatar
xnview
Author of XnView
Posts: 30220
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Thu Oct 30, 2008 1:50 pm

TransparentIndex is used as transparent index for picture with colormap
Pierre.

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Thu Oct 30, 2008 5:58 pm

Do you have something to do transparency merging with greyscale images?
I wrote something that works fine but I prefer to use gfl functions.
Dom

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Tue Nov 04, 2008 1:01 pm

I use gflAddText. I'd like to add transparency to the text.
Is it possible to add this feature using the alpha channel of the text color?
Is there any function to get the text's size given a selected font (gflGetTextRect)?
Rgds
Dom

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Post by dominique » Wed Nov 26, 2008 7:34 am

Up for next version :)
Dom

Post Reply