Hello, I am planning on creating stock photos like 123rf.com. It's just a small feature on my web. I wonder how to create a watermark with codes? Is that possible? We are selling photography photos. Before the buyer purchase it - it must be watermarked. How? Regards, Davy

Member Avatar
Member Avatar
+0 forum 6

` How can I print a watermark in the middle of a word document then return to the top of the doc and start to print whatever text I want to? Here's my code: Set oWord = CreateObject("Word.Application") oWord.Visible = True 'Add a new, blank document Set oDoc = oWord.Documents.Add oDoc.PageSetup.Orientation = wdOrientLandscape 'Insert watermark somewhere in the middle of the page then return to the top of the page and continue with code below? '--------------------------------------------------------------------------- v1$ = StudentFirstLast$ picGradeReportName.Print v1$ Bmp$ = picGradeReportName.Picture SavePicture picGradeReportName.Image, Bmp$ v1$ = App.Path & "\" + Bmp$ ActiveDocument.Shapes.AddPicture _ Filename:=v1$, Left:=0, Top:=0, SaveWithDocument:=True …

Member Avatar
+0 forum 0

Can anyone please explain to me how to compute DCT? I'm finding it hard to understand it. ![2D-DCT](/attachments/large/3/2D-DCT.png "2D-DCT") ![dct1](/attachments/small/3/dct1.png "align-right") I attached the formulas the Discrete Cosine Transform (DCT) and it's Inverse-DCT.

Member Avatar
Member Avatar
+0 forum 6

I have the exact function with image resize on my site, but I would like to add the watermark to the same function, I tried with many options, but nothing worked. Can someone help me to add watermark function please code as follow function do_resize_image($file, $width = 0, $height = 0, $proportional = false, $output = 'file') { if($height <= 0 && $width <= 0) { return false; } $info = getimagesize($file); $image = ''; $final_width = 0; $final_height = 0; list($width_old, $height_old) = $info; if($proportional) { if ($width == 0) $factor = $height/$height_old; elseif ($height == 0) $factor = …

Member Avatar
Member Avatar
+0 forum 9

Hi All, There are many articles available that describe how textbox watermark can be done with the .Net framework(C# and VB.Net) I'm working on a VB6 project. How to implement this with a VB6 textbox?

Member Avatar
Member Avatar
+0 forum 5

Does anyone know the process of DCT in relation to image watermarking? Finding it hard to understand the process any help would be appreciated.

Member Avatar
Member Avatar
+0 forum 1

Is it necessary to compress the host image after embedding the watermark?My host image (512 x 512) is bmp and the watermark is a binary image (63 x 63).

Member Avatar
Member Avatar
+0 forum 1

The first step in image watermarking using DCT is to divide the image into 8 x 8. My question is do I have to divide the image as a whole or divide them by RGB channels so that for each channel I will divide them by 8x8. Any comments will be appreciated.Thanks

Member Avatar
Member Avatar
+0 forum 1

Hello everyone and good day!!! I'm trying to embedd an image watermark to another image for copyright protection and I plan to use DCT and embedding the watermark in the middle band coefficeint of the host image. The problem is I don't know which of the formulas to use since there are a lot of them when I google DCT. I get confuse on which is which? Base from what I read so far 1. the image is divided into 8x8 sub-blocks 2. then DCT is applied to each of the sub-blocks. I'm stuck here what happens next? I'm using …

Member Avatar
Member Avatar
+0 forum 3

I'm curios what happens to the size of the host image after an invisible watermark has been inserted. I'm guessing the size will increase but by how much? For example, the cover image to be inserted is 1kb and the host image is 2kb. Since your adding additional information the size will be 3kb after the embedding process?

Member Avatar
Member Avatar
+0 forum 2

Which of the two (Binary Image and Gray scale image) is easier to embed in a color image using Discrete Cosine Transform? I'm currently exploring image watermarking using discrete cosine transform. Thanks in advance!!! :)

Member Avatar
Member Avatar
+0 forum 2

Simply enough: Call the function, get the returned filename. Function Variables: $file : The input file (source/background) $destination : Where you want the new watermarked image to go $overlay : The overlay image (foreground), this is default set (if not passed in) to "images/watermark.png" $X : X-Position of overlay (default is 10) $Y : Y-Position of overlay (default is 10) The return is the destination file (this allows for dynamic watermarks) Example Usage: [CODE]<img src='<?php echo watermark_image("sample.png", "temp/".time().".png"); ?>'>[/CODE]

Member Avatar
Member Avatar
+1 forum 2

Hi All, I have PDFs that are to be watermarked. I need to know whether there exists the below options 1 Option is : Whether we can rewrite the same file with the logo instead of taking the existing pdf and writing this pdf into watermarked file option2 : Whether we can add the watermark upon creating the file first time itself? Pleaase do help.... Hoping for a favorable response Thanks in Advance

Member Avatar
Member Avatar
+0 forum 4

Hi all how i can put a watermark on a HTML div??

Member Avatar
Member Avatar
+0 forum 4

Hi Friends, I am having a pdf which has to be watermarked.But the code below I use is writing contents of my PDF into another PDf which is being watermarked.Please suggest any ideas which helps me watermark the same pdf without creating a new one. Please find the code below. [code]PdfReader Read_PDF_To_Watermark = new PdfReader(RESOURCE_DATA.getString("FILE_PATH")); int number_of_pages = Read_PDF_To_Watermark.getNumberOfPages(); PdfStamper stamp = new PdfStamper(Read_PDF_To_Watermark, [COLOR="Red"]new FileOutputStream(RESOURCE_DATA.getString("FILE_PATH2")));[/COLOR] int i = 0; Image watermark_image = Image.getInstance(RESOURCE_DATA.getString("LOGO")); watermark_image.setAbsolutePosition(200, 400); PdfContentByte add_watermark; while (i < number_of_pages) { i++; add_watermark = stamp.getUnderContent(i); add_watermark.addImage(watermark_image); } stamp.close();[/code]

Member Avatar
Member Avatar
+0 forum 1

does anyone know if you can make a water mark in visual basic 2010? I was wondering if it could also go behind all of my labels, text boxes, etc... like in the background... Thanks in Advance

Member Avatar
Member Avatar
+0 forum 1

The End.