ColdFusion WDDX 转换不适用于 ColdFusion 图像?
我正在尝试创建 CFML 到 WDDX 数据包作为缓存机制的一部分。当我尝试将 Coldfusion 图像作为输入的一部分传递时,出现与 Java 图像变量相关的 cfwddx 错误。创建新的 CF 图像然后将其作为输入传递时,我会遇到同样的错误。
<cfwddx action="cfml2wddx" input="#aNewCFImage#" output="wddxConverted" />
处理请求时发生错误
读取 java.awt.color.ICC_ColorSpace.maxValue 属性时出错。
冷聚变8
I'm trying to create a CFML to WDDX packet as part of a caching mechanism. I get a cfwddx error related to a Java image variable when I attempt to pass in a coldfusion image as part of input. I can get the same error creating a new CF image and then passing that in as input.
<cfwddx action="cfml2wddx" input="#aNewCFImage#" output="wddxConverted" />
Error Occurred While Processing Request
Error reading property for java.awt.color.ICC_ColorSpace.maxValue.
ColdFusion 8
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须将其作为二进制文件发送。
请参阅:http:// /books.google.ca/books?id=sWjmIxqeBxMC&pg=PA730&lpg=PA730#v=onepage&q&f=false
You'll have to send it over as a binary file.
see: http://books.google.ca/books?id=sWjmIxqeBxMC&pg=PA730&lpg=PA730#v=onepage&q&f=false
我会将图像转换为 base64。可以安全地存储在字符串中。
I'd convert the image to base64. That can be safely stored in a string.