嵌入式图像? [英] embedded image?

查看:80
本文介绍了嵌入式图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我们有一个基于PHP(我认为)的软件导出到

rtf文件,这些文件包含一个图像,这个图像使得rtfs太多

大...所以解决方案是降低使用的

图像的质量/分辨率。


图像似乎嵌入在一个变量中这是单独在它的b $ b b自己的php文件中(我99%肯定这是因为我已经尝试编辑

实际图像对Windows可见没有区别

到导出的rtf,而且php文件的大小几乎与输出的rtf文件相同



有问题的php文件就像这样开始

< ;?

$ rtf_image1 =" 5cca52c0fb153400d


结束如


000

" ;;


?>


所有这些中间是数字和字母,价值约1.5mb,所以

不能发布所有...这或许只是t他原始的图像代码

文件?我试图把这个代码保存为jpg / gif / png但是

似乎没有显示为图像。


所以基本上,我如何编辑/替换此图像?


TIA

Hi we have a piece of php based (i think) software that exports to an
rtf file, these files contain an image, this image makes the rtfs too
large...so the solution is to reduce the quality/resolution of the
image being used.

The image appears to be embedded in a variable that is in alone in its
own php file (i''m 99% sure of this because i have tried editing the
actual images that are visible to windows and this makes no difference
to the exported rtf and also the size of the php file is almost the
same as the exported rtf files)
The php file in question starts like this
<?
$rtf_image1 = "5cca52c0fb153400d

and ends like

000
";

?>

All thats in between are numbers and letters, about 1.5mb worth, so
can''t post them all...this is perhaps just the raw code of the image
file? I have tried to take this code and save it as a jpg/gif/png but
doesn''t seem to show up as an image.

So basically, how can i edit/replace this image?

TIA

推荐答案

rtf_image1 =" 5cca52c0fb153400d


结束如


000

" ;;


?>


介于两者之间的是数字和字母,价值约1.5mb,所以

不能发布它们所有...这可能只是图像的原始代码

文件?我试图把这个代码保存为jpg / gif / png但是

似乎没有显示为图像。


基本上,我如何编辑/替换此图像?


TIA

rtf_image1 = "5cca52c0fb153400d

and ends like

000
";

?>

All thats in between are numbers and letters, about 1.5mb worth, so
can''t post them all...this is perhaps just the raw code of the image
file? I have tried to take this code and save it as a jpg/gif/png but
doesn''t seem to show up as an image.

So basically, how can i edit/replace this image?

TIA


sa ************ @ yahoo.co.uk pisze:
sa************@yahoo.co.uk pisze:

你好我们有一块基于php(我认为)的软件导出到一个

rtf文件,这些文件包含一个图像,这个图像使得rtfs太

大...
Hi we have a piece of php based (i think) software that exports to an
rtf file, these files contain an image, this image makes the rtfs too
large...


有问题的php文件就像这样开始

< ;?
The php file in question starts like this
<?


rtf_image1 =" 5cca52c0fb153400d
rtf_image1 = "5cca52c0fb153400d



尝试此功能并将结果保存到文件:

<?php

Try this function and save the result to a file:
<?php


这篇关于嵌入式图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆