Lotus Notes DXL Notes位图转换为GIF [英] Lotus Notes DXL Notesbitmap to GIF

查看:118
本文介绍了Lotus Notes DXL Notes位图转换为GIF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用读取Filedata并将其转换为base64 byte []并创建gif图像的dxl逻辑将Lotus Notes文档库内联图像转换为gif图像.转换对于所有示例都运行良好,但几天前,我们在阅读了很少的论坛后遇到了带有notesbitmap标签的示例文件

I am converting lotus notes document library inline images to gif images using dxl logic of reading Filedata and converting it to base64 byte[] and creating a gif images. The conversion was working fine for all the sample but few days back we came across sample file with notesbitmap tag, after reading few forums it was mentioned that

对于DXL导出中的问题图像,它们是否在输出中导致一个元素,或者生成一个?如果是后者,我认为它们实际上是图像引用而不是实际图像; notesbitmap数据不是gif,但包含二进制标题和Notes专用格式的URL."

"For the problem images in your DXL export, do they result in a element in the output, or a ? If the latter, I believe they are actually image references instead of actual images; the notesbitmap data is not a gif, but contains a binary header and URL in a Notes-specific format."

但是我在哪里可以找到注释中的URL,因为当我解码第二个数据时,它给了我垃圾结果而不是URL.

But where can i find the URL in notes specific because when i decode the second data it gives me garbage result instead of url.

我还尝试在转换之前将ConvertNotesBitmapToGif .net属性设置为true.

I also tried setting the ConvertNotesBitmapToGif .net property to true before conversion.

请找到以下DXL示例链接: http://www.page-monitor.com/Downloads/Exported2.xml

Please find the below link for sample DXL: http://www.page-monitor.com/Downloads/Exported2.xml

详细信息:

xP8gAAEAEAAQAAAAgAAAAAAAAAAAAAAAAAU1RHNjI2NTeVACYAAAAAAAAAAAAAAAAAAAAAAAAAAAA0wF/ AAAAAAAAAAAAAAAAAA ==

xP8gAAEAAQAAAAgAAAAAAAAAAAAAAAAAU1RHNjI2NTeVACYAAAAAAAAAAAAAAAAAAAAAAAAA0wF/ AAAAAAAAAAAAAAAAAA==

是标题信息,即图像名称

is the header info i.e image name

和下面的文件数据 应该提供URL(根据Lotus notes论坛)

and filedata below at the bottom should give the URL (as per the Lotus notes forum)

任何帮助将不胜感激!

感谢和问候 长谷ena

Thanks and Regards Haseena

推荐答案

来自

notesbitmap元素

notesbitmap element

代表专有的Notes位图图像.存储在NSF中的图像 文件由base64内容组成,它是一系列CD (复合数据)代表位图的记录.

Represents a proprietary Notes bitmap image. Images stored in an NSF file are comprised of base64 content, which is a series of CD (composite data) records representing a bitmap.

因此,如果您运行

xP8gAAEAAQAAAAgAAAAAAAAAAAAAAAAAU1RHNjI2NTeVACYAAAAAAAAAAAAAAAAAAAAAAAAA0wF/ AAAAAAAAAAAAAAAAAA==

通过base64解码器,您可以得到

though a base64 decoder, you get

`Äÿ ������������������STG62657�&�������������������Ó�������������

在DXL中,您会进一步找到"STG62657"

And you will find "STG62657" further down in the DXL

<item name="$FILE" summary="true" sign="true" seal="true">
<object>
<file hosttype="cdstorage" compression="none" flags="storedindoc" encoding="none" name="STG62657" size="2332">

您可以解码....

这篇关于Lotus Notes DXL Notes位图转换为GIF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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