使用ThumbnailCacheId检索缩略图 [英] Retrieving a Thumbnail using a ThumbnailCacheId

查看:275
本文介绍了使用ThumbnailCacheId检索缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<!-/*字体定义*/@ font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:变量; mso-font-signature:0 0 0 0 0 0;} @ font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:变量; mso-font-signature:-520092929 1073786111 9 0 415 0;}/*样式定义*/p.MsoNormal,li.MsoNormal,div.MsoNormal {mso-style-unhide:no; mso-style-qformat:是; mso-style-parent:";上边距:0cm;右边距:0cm;底边距:10.0pt;左边距:0cm;线高:115%; mso分页:寡妇孤儿;字体大小:11.0pt;字体家族:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}.MsoChpDefault {mso-style-type:仅导出; mso-default-props:是; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only;底边距:10.0pt; line-height:115%;} @page Section1 {size:612.0pt 792.0pt;保证金:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;}->

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->

Hi,

是否可以使用ThumbnailCacheId检索指定jpeg的缩略图?

Is there a way to use a ThumbnailCacheId to retrieve a thumbnail for a specified jpeg?

我正在使用Windows Search SQL检索一组jpeg图像的图像信息,并且我需要一种快速的方法来为每个图像检索相应的缩略图.我找到了一个名为ThumbnailCacheId的WS列,该列返回一个唯一的数字,我假设该数字可用于从Thumbs.db中检索缩略图.

I’m using Windows Search SQL to retrieve picture information for a set of jpeg images, and I need a fast way to retrieve the corresponding thumbnails for each image. I have found a WS column called ThumbnailCacheId which returns a unique number and I’m assuming the number can be used to retrieve the thumbnail from Thumbs.db.

如何使用数字检索相应的缩略图?

How can I use the number to retrieve the corresponding thumbnail?

谢谢

Jason

推荐答案

Hello Jason,

如果您的目标是Windows XP,那么本文( Pete Davis附带的C#源代码可能会帮助您.他的ThumbDBLib可以帮助您读取Windows XP缩略图缓存文件并提取项目图像.参见 http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31 (这是第三方网站,不受Microsoft拥有或控制,我们为您提供方便的链接.使用此链接,后果自负.)

如果您的目标是Windows Vista或更高版本,则有一个不同的缩略图故事,您可能想看看 IThumbnailCache接口.

关于,

Jie
Hello Jason,

If you are targeting Windows XP, then this article (C# source code included) by Pete Davis may help you out. His ThumbDBLib can help you read the Windows XP thumbnail cache file and extract the item images. See http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31 (This is a third party website which is not owned nor controlled by Microsoft, we provide the link for your convenience. Use it at your own risk.)

If you are targeting Windows Vista or later, which has a different thumbnail story, you may want to take a look at the IThumbnailCache Interface.

Regards,

Jie


这篇关于使用ThumbnailCacheId检索缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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