當前位置:首頁 » 操作系統 » 水印的源碼

水印的源碼

發布時間: 2022-01-27 15:05:38

① 我有個網站的源碼,裡面給提交的照片自動打上了水印,我如何修改水印為自己的文字圖形

把打水印的那段源碼改成你自己的就行了,你看看水印的具體名字,再在源碼里搜就OK了

② 高分求高手幫忙:LSB數字水印的源代碼,圖片瀏覽器的源代碼,恩最好有簡單的程序說明

不採用 matlab:
完整的程序:
參考資料 上方 LSBEmbeding.rar 約 900K, 是 VC++ 程序。
頁的最下面還有少數 LSB VC++ 程序連接。

③ 高分求 vb 文字 水印 源碼 文字要有透明度

方法1:先用Image復制一個圖像的副本,再用TextOut或DrawText在副本上放文字,然後用AlphaBlend與原圖混合再輸出就可以了(不知道是不是你條件5中限制使用的方法,暫時先不寫代碼了)
方法2:使用DIB,在像素數組中運算,比較復雜。

php批量水印添加源碼

這個要用到文件列遍函數
$dir="./images/*.jpg"; //以jpg圖片為例
$image_files=glob($dir); //將目錄中指定類型文件url讀入$image_files數組
然後用循環語句進行添加水印
for($i=0;$i<count($image_files);$i++)
{
//調用圖片文件
$this_image=$image_files[$i];
//添加水印代碼
}

⑤ 求asp.net圖片水印源碼(含gif圖片)

/// <summary>
/// 在圖片上增加文字水印
/// </summary>
/// <param name="Path">原伺服器圖片路徑</param>
/// <param name="Path_sy">生成的帶文字水印的圖片路徑</param>
protected void AddWater(string Path, string Path_sy)
{
string addText = "51aspx.com";
System.Drawing.Image image = System.Drawing.Image.FromFile(Path);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(image);
g.DrawImage(image, 0, 0, image.Width, image.Height);
System.Drawing.Font f = new System.Drawing.Font("Verdana", 60);
System.Drawing.Brush b = new System.Drawing.SolidBrush(System.Drawing.Color.Green);

g.DrawString(addText, f, b, 35, 35);
g.Dispose();

image.Save(Path_sy);
image.Dispose();
}

/**/
/// <summary>
/// 在圖片上生成圖片水印
/// </summary>
/// <param name="Path">原伺服器圖片路徑</param>
/// <param name="Path_syp">生成的帶圖片水印的圖片路徑</param>
/// <param name="Path_sypf">水印圖片路徑</param>
protected void AddWaterPic(string Path, string Path_syp, string Path_sypf)
{
System.Drawing.Image image = System.Drawing.Image.FromFile(Path);
System.Drawing.Image Image = System.Drawing.Image.FromFile(Path_sypf);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(image);
g.DrawImage(Image, new System.Drawing.Rectangle(image.Width - Image.Width, image.Height - Image.Height, Image.Width, Image.Height), 0, 0, Image.Width, Image.Height, System.Drawing.GraphicsUnit.Pixel);
g.Dispose();

image.Save(Path_syp);
image.Dispose();
}

⑥ 下載的源碼,上傳網站後圖片都帶水印,如何處理這個水印呢

如果搜不到這個網址,很可能這個水印是個圖片。
你可以點擊顯示出來的有網址的圖片,看看具體的URL是什麼,可能有2個圖片文件夾,一個是有水印的一個是沒有的。
或者還有可能就是水印是在客戶端請求是,由代碼合成到圖片上,顯示出來的。只要找到這部分代碼,刪除,就可以了。

⑦ PSD水印源碼怎麼製作

Photoshop製作圖片透明水印教程
詳細出處參考:http://www.jb51.net/photoshop/6212.html

⑧ 基於DCT數字水印的源代碼,怎麼弄那個水印圖片

在畫圖工具中,自己生成,選擇「屬性」選擇自己想要的大小64*64或32*32像素,選取黑白,選取自己想寫的字或字母,確定字體和大小,就可以生成二值圖形啦!

熱點內容
單片機android 發布:2024-09-20 09:07:24 瀏覽:765
如何提高三星a7安卓版本 發布:2024-09-20 08:42:35 瀏覽:664
如何更換伺服器網站 發布:2024-09-20 08:42:34 瀏覽:311
子彈演算法 發布:2024-09-20 08:41:55 瀏覽:289
手機版網易我的世界伺服器推薦 發布:2024-09-20 08:41:52 瀏覽:817
安卓x7怎麼邊打游戲邊看視頻 發布:2024-09-20 08:41:52 瀏覽:162
sql資料庫安全 發布:2024-09-20 08:31:32 瀏覽:94
蘋果連接id伺服器出錯是怎麼回事 發布:2024-09-20 08:01:07 瀏覽:507
編程鍵是什麼 發布:2024-09-20 07:52:47 瀏覽:658
學考密碼重置要求的證件是什麼 發布:2024-09-20 07:19:46 瀏覽:481