| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 986 人关注过本帖
标题:【求助】JPEG图片信息存放指针是哪个
只看楼主 加入收藏
crowkeeper
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2008-4-16
收藏
 问题点数:0 回复次数:1 
【求助】JPEG图片信息存放指针是哪个
通常吧JPEG图片导入到VC++中,都是转变了格式->HBITMAP,
我想问他的图片信息怎么获得,就像BMP一样,有个指针,里面就是图片的信息,可以进行处理。
那JPEG图片的这个指针在哪啊
我是想做JPEG图片的数字水印
搜索更多相关主题的帖子: JPEG图片 指针 数字水印 BMP 
2008-04-22 08:52
余来
Rank: 6Rank: 6
等 级:贵宾
威 望:26
帖 子:956
专家分:18
注 册:2006-8-13
收藏
得分:0 
int GetObject(
  HGDIOBJ hgdiobj,  // handle to graphics object
  int cbBuffer,     // size of buffer for object information
  LPVOID lpvObject  // buffer for object information
);
Parameters
hgdiobj
[in] Handle to the graphics object of interest. This can be a handle to one of the following: a logical bitmap, a brush, a font, a palette, a pen, or a device independent bitmap created by calling the CreateDIBSection function.
cbBuffer
[in] Specifies the number of bytes of information to be written to the buffer.
lpvObject
[out] Pointer to a buffer that receives the information about the specified graphics object.
The following table shows the type of information the buffer receives for each type of graphics object you can specify with hgdiobj. Object type Data written to buffer
HBITMAP BITMAP
HBITMAP returned from a call to CreateDIBSection DIBSECTION, if cbBuffer is set to sizeof(DIBSECTION), or BITMAP, if cbBuffer is set to sizeof(BITMAP)
HPALETTE A WORD count of the number of entries in the logical palette
HPEN returned from a call to ExtCreatePen EXTLOGPEN
HPEN LOGPEN
HBRUSH LOGBRUSH
HFONT LOGFONT



If the lpvObject parameter is NULL, the function return value is the number of bytes required to store the information it writes to the buffer for the specified graphics object.

2008-04-22 11:08
快速回复:【求助】JPEG图片信息存放指针是哪个
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015395 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved