腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3258)
视频
沙龙
1
回答
PHP pase错误-
imagecreatetruecolor
、
、
$img = @
imagecreatetruecolor
(32, 32) or return false;我得到一个解析错误,但是代码看起来没问题?
浏览 1
提问于2011-08-14
得票数 1
回答已采纳
1
回答
ImageLine,
imagecreatetruecolor
不能正常工作
、
$size = 600; $white = imagecolorallocate($img, 255, 255,
浏览 2
提问于2017-05-01
得票数 0
1
回答
使用图像颜色分配(PHP)重做图像,但颜色不同
、
{$width = imagesx($image);$img =
imagecreatetruecolor
浏览 1
提问于2015-04-26
得票数 0
回答已采纳
1
回答
PHP
imagecreatetruecolor
修复antiailas问题
、
file_get_contents( $_FILES['image']['tmp_name'] ) );$dst1 =
imagecreatetruecolor
, 696, 399, $size1[0], $size1[1] );$height = 687; $image =
imagecreate
浏览 3
提问于2016-09-29
得票数 1
回答已采纳
1
回答
php gd2缩略图创建器脚本问题
、
、
new_width = $thumb_width; $tmp_name =
imagecreatetruecolor
浏览 3
提问于2011-02-28
得票数 0
回答已采纳
1
回答
基于文本PHP的动态图像
、
、
arSize[1]); header("Content-Type: image/png"); // Set the content-type $hImage =
imagecreatetruecolor
浏览 3
提问于2010-11-08
得票数 2
1
回答
在PHP中调整PNG大小并转换为JPG图像
、
、
、
$file); $wm =
浏览 1
提问于2012-03-16
得票数 1
3
回答
用PHP制作PNG图像
、
、
$image =
imagecreatetruecolor
(100,100);imagefill($image,0,0
浏览 3
提问于2012-05-16
得票数 0
回答已采纳
1
回答
如何在使用PHP代码生成缩略图时保持PNG图像的透明性
、
source_image_path);} return false; $thumbnail_gd_image =
imagecreatetruecolor
浏览 1
提问于2014-04-25
得票数 1
回答已采纳
1
回答
图像调整大小返回黑色背景
type, $att) = getimagesize($location); $newheight=($height/$width)*$newwidth; $tmp=
imagecreatetruecolor
浏览 3
提问于2012-02-07
得票数 0
回答已采纳
2
回答
PHP GIF/PNG保留亮度和Alpha的真彩色滤镜
、
、
我已经编写了一段时间的脚本来更改GIF和PNG文件的颜色,它比PHP colorize滤镜工作得更好,后者不能保持亮度。我想出了这个,但它并不完全正确: $im = imagecreatefrompng($filename); $background = imagecolorallocate($nim, 255, 0,
浏览 1
提问于2010-11-23
得票数 3
回答已采纳
1
回答
在PHP中取消数组之前是否需要使用imagedestroy()?
、
、
所以我得到了这样的排列:$array[0] =
imagecreatetruecolor
(10, 10);上面数组中的所有元素集都是GdImage。那么,是否需要在未设置数组之前执行类似的操作来释放内存?
浏览 4
提问于2022-12-03
得票数 0
回答已采纳
1
回答
PHP与
ImageCreateTrueColor
和PNG的问题
、
、
、
、
这一切都很好,我甚至可以通过使用
ImageCreateTrueColor
()来保持alpha混合透明性,而不是使用ImageCreate()来创建大小调整的图像。问题是,如果我使用
ImageCreateTrueColor
()而不是ImageCreate(),那么PNG文件的文件大小将从大约80 if增加到150 if。
浏览 3
提问于2010-04-15
得票数 1
1
回答
无法使用PHP正确生成图像缩略图
、
img); $tmp_img =
imagecreatetruecolor
浏览 0
提问于2013-05-31
得票数 0
回答已采纳
1
回答
php imagepng()仅在服务器上生成黑色图像
、
、
if ($width) { $rimg =
imagecreatetruecolor
浏览 0
提问于2012-09-21
得票数 3
1
回答
PHP GD从数组中绘制像素数据会在循环中停止
、
、
我在一个JSON对象中有一个像素数据数组。我正在尝试使用PHP将像素数据重新绘制为GD图像。$im = imagecreate($w,$h);while($i < count($pixels)){ $rgb = $item['rgb']; $col = imagecolorallocate($im, $rgb[0],$rgb[1],$
浏览 0
提问于2012-04-14
得票数 1
回答已采纳
1
回答
GD的麻烦,两个图像
、
、
imagesx($furni);if($furnix < 180){ $img =
imagecreatetruecolor
(200, 200); $img =
imagecreatetruecolor
(200, ($furniy + 20));}else{ $img =
imagecreatetruec
浏览 1
提问于2014-05-24
得票数 0
1
回答
Laravel 7保存本地存储转换的Base64图像
、
、
、
、
SAVE 3 VERSION OF THE IMAGE IN THIS FOLDER whith that sizes$image_p =
imagecreatetruecolor
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height); //getting error on
imagecreatetruecolor
浏览 3
提问于2021-04-16
得票数 1
2
回答
PHP裁剪不起作用,返回黑色图像-图像裁剪系统
', $old_file_name); $src_image = imagecreatefromjpeg($old_file_name);
浏览 0
提问于2013-02-18
得票数 0
2
回答
是什么导致
imagecreatetruecolor
()失败?
、
$new_h : $orig_h; $dst_img =
imagecreatetruecolor
($new_w,$new_h);
浏览 0
提问于2009-08-20
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
PHP如何给图片添加水印
PHP实现生成推广海报的方法详解
系统学习PHP之GD库
php图片上传缩放和剪裁
如何生成推广海报
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券