Web Forms :: How To Diagonally Rotate WaterMark Text On Image
May 7, 2015I used below code for insert watermark to photo
[URL]
here it writes watremark text is straight line (horizental)
How I can rotate text of water mark?
I used below code for insert watermark to photo
[URL]
here it writes watremark text is straight line (horizental)
How I can rotate text of water mark?
how to make a toolbar to let user rotate or zoom in /out image
View 2 RepliesHow do I rotate the text orientation of the text on the X Axiz of the Microsoft ASP.NET Chart Control? I am using .NET 4.
View 1 RepliesI have to flip or rotate images in listview itemtemplateI will catch the image id by commandargument and get imageid, and rotate it and save it back in original placei tested roate image coding , it worked perfectly. but when i combine with listview and doesnt work.
View 4 RepliesI have an asp.net 2010 project. I write a jpg to the filesystem. Then I display it in an Image control. Then I use this code on button click to allow the user to rotate it 90 degrees.
string path = Server.MapPath(Image1.ImageUrl) ;
// creating image from the image url
System.Drawing.Image i = System.Drawing.Image.FromFile(path);
// rotate Image 90' Degree
i.RotateFlip(RotateFlipType.Rotate90FlipXY);
// save it to its actual path
i.Save(path);
// release Image File
i.Dispose();
It does rotate (I can actually watch that happen in Windows Explorer). But when I run the app again and it grabs the file from its path, it still displays it in its original form.
I want to rotate an image with asp.net. I used TranslateTransform and RotateTransform. After rotation, the image is damaged. How can I solve this problem?
View 1 RepliesI am using the below code to rotate the drag/dropped image.The rotation is working fine,but when i start rotating ,the image moves outside the "div" container .Anything i am missing.
//Moving outside the container for first time.After dragging inside the div,then rotates inside the div
[Code]....
I need to add image as a watermark on an image instead of a text.
I have a small logo that i will place somewhere at the bottom right side of the image, it takes small place.
I need to implement this in C#.
Can I sample code or tutorials on how to get this done?
Refer link [URL] ....
I put text watermark to images but I want I create image watermark to photos like below ...
how I can do it?
how do i watermark image, example: when a user registers on the website before the user uploads his or her photo there is a default image and when the user brings mouse close to the image it will show "Update profile picture".
View 1 RepliesHow we can set image in the textbox in place of text like as watermark textbox in asp.net.
How it can be possible...
Is there any way in order to remove a watermark from an image? What has to be done is to lose the existing watermark as much as possible and place a new watermark text instead. As the existing watermark is placed diagonally, cutting the image in two equal parts (triangles), I am thinking of possibility to detect the diagonal and then determine the watermark text height (size / dimensions), and after that apply the Gaussian method of blurring (or anything similar) on the determined part. After it's edited, the image would be exposed to a code that would generate the new watermark.Is this possible to do, after all?
View 1 RepliesIn insert.aspx page I have file upload control that users can upload their image and in show.aspx page they can see their images that the uploaded.
I want when users upload their image automatically type BEHTOP.COM On the center of image
I want to save water marked image to database.i have done watermarking,but save the image it does not save to database.
Following are my code:
Bitmap original_image = new Bitmap(FileUpload1.FileContent);
string sWaterMark = "reshu";//String to be watermarked
int fontsize = ((original_image.Width * 2) / (sWaterMark.Length * 3));
int x = original_image.Width / 2;
int y = original_image.Height * 9 / 20;
[Code] ....
My textbox is
<asp:TextBox runat="server" ID="txtDate1" Width="120px" onclick="tryPlaceholder(this,'dd MMM yyyy')" onblur="tryPlaceholder(this,'dd MMM yyyy')" />
function tryPlaceholder(txtbox, placehold) {
if (txtbox.value.length == 0) {
txtbox.value = placehold.toString();
[Code] ....
Its run okay with javascript. but i want solution through server side for textbox withing placeholder control inside asp.net .....
I want use this watermark: [URL] ....
But I want used in formview, how i change code in C# ?
and this is my FormView:
Asp.net
<asp:FormView ID="FormView1" runat="server" DataKeyNames="id"
DataSourceID="SqlDataSource1" DefaultMode="Insert" Width="1200px">
<InsertItemTemplate>
<table class="style1"><tr>
<td valign="top" class="style5">ناونیشان:</td>
[Code] ....
C#
protected void Upload(object sender, EventArgs e) {
string watermarkText = "© test.com";
//Get the file name.
string fileName = Path.GetFileNameWithoutExtension(FileUpload1.PostedFile.FileName) + ".png";
//Read the File into a Bitmap.
using (Bitmap bmp = new Bitmap(FileUpload1.PostedFile.InputStream, false))
[Code] .....
I want to create a text which contain a water mark .....but the condition is when i click inside the tetxbox the watermark want to disapper
View 1 Repliesi want to mail water marked image to the user.but i can't do this. i will show my code...
to use this code,the image watermarking is done...buti can't attach this file to the mail.
Bitmap bmpUpload = new Bitmap(FileUpload1.PostedFile.InputStream, false);
Graphics graphicsObj = Graphics.FromImage(bmpUpload);
Brush brush = new SolidBrush(Color.Gray);
Point postionWaterMark = new Point((bmpUpload.Width / 25), (bmpUpload.Height / 35));
[CODE]..
I used it to put text watermark but font of text is solid I want it has transparency how I can do it?
View 1 RepliesIs there a way to upload image and save to folder with watermark of Copyright on image ?
View 1 RepliesIs there a way to process images once uploaded to my asp.net site, to put a watermark or some text across the image to copyright the images? I would like to do this server-side if possible.The other option I have discovered here [URL] would be to store the images as they are on the server, but to manipulate the display so it appears the image is watermarked . However, this solution is in PHP. Does anyone know a good PHP to VB.NET translator?! Or does anyone have a good suggested link, idea or code? Or can I add PHP to my ASP.NET site?
View 4 RepliesI used to show the text using TextBoxWatermarkExtender.
The text is so big.
How to break the string in the text in the text box that is shown using TextBoxWatermarkExtender
I used below code to upload image and put watermark on it
protected void BtnUpload_Click(object sender, EventArgs e) {
uploadImageError.Visible = true;
if (fup1.HasFile && fup1.PostedFile.ContentLength < 102400) {
string watermarkText = "behtop.com";
string path = Server.MapPath("~/image/House/product/");
[Code] ....
Problem is when I upload image and click on btnupload it shows image in new window with watermark text but it doesn't save it into host...
I want when I click on btnupload it doesn't show image in new window I want it just uploaded image with watermark into host...
How I can do it?
i have a page where the image,logo,position and alpha details are shown in a gridview...and the page has a confirm button...once the user clicks on confirm button[then actual watermarking happens which gets stored in db] it navigates to another page where another gridview is present but it has an additional column [watermarked image] ...the only problem is that when i want to write code for watermarking in the watermark.aspx.cs page
View 3 RepliesI want to ask how I can create a waterMark for a image runtime in other words I want to write some text at every Image I show in my site.
View 1 Replies