FAQ Database Discussion Community


How to implement watermarking of images in YII framework?

image,yii,watermark
I want to watermark images at the time of uploading in yii. Please anyone help me to do that....

Is it possible to add a watermark on to a JPG without re-compression?

php,image-processing,jpeg,watermark,lossless-compression
It seems to be logical that it should be impossible to add a watermark to an JPG image without re-compressing the image when saving it as an JPG. Can someone confirm this? The question is generally related to PHP, but I don't think the server language makes a difference to...

Html Canvas add Text Or Image in Rendered Image

html5-canvas,watermark
i am trying to add add text (water mark) in canvas generated image here is my code. html2canvas($("#frame"), { onrendered: function (canvas) { $("#outputImage").html(canvas); } what i should add in this code to add watermark mark in generated image ...

Add watermark below image but within print area in C#

c#,winforms,image-processing,printing,watermark
I am trying to insert a text watermark underneath a TIFF image in my windows form and would definitely appreciate anyone's help. I have a print button that retrieves the image, scales it down, then based on my margins, places the image accordingly to print. I'd like to add an...

Watermark to appear on canvas after submit

javascript,html5,canvas,submit,watermark
I have a HTML canvas, you choose a color and a size for the circle and when onclick, the circle appears. Now I want a watermark with the text "Hello" to be seen before you paint the circles and then disappear when you start drawing and the canvas goes back...

ffmpeg watermark overlay turns portrait to landscape

ffmpeg,watermark,portrait
I have an issue with portrait videos : when I add a watermark on it like this ffmpeg -i bb.mov -i watermark.png -filter_complex overlay aa.mp4 the aa.mp4 result video is in landscape mode ... Is there any solution to watermark my portrait video input to get a portrait video output...

CFPDF with PNG: transparency is black. With PDF it's white

pdf,coldfusion,thumbnails,watermark,cfpdf
I am trying to add a watermark to a PDF with a PNG file that has a transparent background. Every time I create the watermark it comes out as black background. When it comes to using a PDF as the watermark I get a white background of the watermark. Also,...

Watermarking centered instead of top right

php,image-processing,gd,watermark
I'm using a php function that creates a watermarkon the top right of an image. Here's the code : <?php function watermarking($source, $watermark, $save = NULL, $width = null, $height = null) { $watermark = @imagecreatefrompng($watermark) or exit("Impossible d'ouvrir le fichier (watermark)."); imageAlphaBlending($watermark, false); imageSaveAlpha($watermark, true); $imageString = @file_get_contents($source) or...

Is there a way to add watermark to all videos in Google Drive’s folder?

google-apps-script,ffmpeg,google-drive-sdk,watermark,video-watermarking
Is there a way to add watermark to all videos in Google Drive’s folder? I found similar service, but it works only with pictures, pdfs - Wappwolf Maybe, it's possible to do by Google Apps Script or some other services (like ffmpeg)?...

Why pixels color are different before and after encoding? , How to set the same?

video,ffmpeg,watermark
I want to change some pixels of some frames, I do this steps: 1 - Extract frames from FLV video to PNG 2 - Change frame pixels color ,For example I set color of Pixel(0,0) to ARGB (0,0,0,0) 3 - Encode frames to a video by below code: -i Frame%04d.png...

IOError on file deletion

c#,file,itextsharp,watermark
The following code is used for watermarking pdf : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; namespace WaterDocument { class Program { static void Main(string[] args) { string FileLocation = "C:\\Users\\Desktop\\Hello.pdf"; // string watermarkedFile = "Watermarked.pdf"; // Creating watermark on a separate layer...

How to delete delete app inventor watermark

android,watermark
I created some demo apps with M.I.T android app inventor and I was very happy with them. This was until I notices when I pressed the button on the left hand side of my device (I believe it is the settings button) I got a screen with 2 buttons, one...

How to add watermark to TIFF image using itext 2.1.7 in java

java,itext,watermark
I want to print out a tiff image with watermark.So, firstly i convert tiff image to pdf and add watermark to generated pdf.But the watermark doesn't appear in final pdf. Is there any advice to print out a tiff image with watermark. Any help will be appreciated. This is my...

PHP Imagick compositeImage set position

php,image-processing,imagemagick,imagick,watermark
I use the Imagick library for Image processing. I'm using this function: https://php.net/manual/ro/imagick.compositeimage.php How can I place the second image above the first image in the left corner for example? I'm using this function to add a watermark above all images. But the watermark is centered on all images. I...