Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <liucr01@21cn.com>Now,
wrote in message
href="news:f09aa15.-1@WebX.maYIadrTaRb">news:f09aa15.-1@WebX.maYIadrTaRb...
Everyone, I already insert a raster image to autocad view, I can read the
image's informations, but I don't know that how I can directly change some
pixels and immediatly update these.
Can you help me?
Thanks.
liucr.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi Liucr,
As I mentioned to you before, you can
modify raster images using the Image Engine SDK. This is part of the ObjectARX
2000 download. You can download ObjectARX 2000 from
href="ftp://ftp.autodesk.com/ProdSupp/autocad2000/ObjectARXSDK.exe">
face=Arial>ftp://ftp.autod...
face=Arial>.
The Image Engine SDK is in the IESDK folder
created when you extract the file from the ZIP file. I have previously posted
you some IESDK sample code.
However, IESDK is a complex API with quite
rudimentary documentation. I wouldn't recommend you attempt to use this
unless you are very confident in your C++ abilities.
Cheers,
Stephen Preston
Developer Technical Services
WW Support &
Services, Autodesk
Discussion Q&A:
href="http://www.autodesk.com/discussion">http://www.autodesk.com/discussion
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <liucr01@21cn.com>Now,
wrote in message
href="news:f09aa15.-1@WebX.maYIadrTaRb">news:f09aa15.-1@WebX.maYIadrTaRb...
Everyone, I already insert a raster image to autocad view, I can read the
image's informations, but I don't know that how I can directly change some
pixels and immediatly update these.
Can you help me?
Thanks.
liucr.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <liucr01@21cn.com>
wrote in message
href="news:4B4DDA06D9B3CDA1E110DD04883B4AB1@in.WebX.maYIadrTaRb">news:4B4DDA06D9B3CDA1E110DD04883......
Hi, Stephen:
First, Thank you!
A few days ago, I have already studied ths Image Engine
SDK, and I also learned not a few things from you.
Now I can use AcDbRasterImage, AcDbRasterImageDef,
IeImg,IeCxt and so on to read the pixel of raster image by IeCxt::get1(), and
I known IeCxt::put1() function can s
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>et a single pixel, and
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>IeImg::
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>storeFile() can save the
size=3>modified pixels. But I don't know how to show the modified pixels on
the AcDbRasterImage in the AutoCAD view. Can you understand
me?
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>I have learned how to read from the code you have
posted to me. I hope you can let me learn how to write the modified
pixels to screen.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>Thanks.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>Regards.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>Liucr.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®ä½; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
"Stephen Preston (Autodesk Developer Technical Services)" <
href="mailto:discussion.support@autodesk.com">discussion.support@autodesk.com>
åå ¥æ¶æ¯æ°é»:920DB603DDA3EDA4449053E9857CFFDD@in.WebX.maYIadrTaRb...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi Liucr,
As I mentioned to you before, you can
modify raster images using the Image Engine SDK. This is part of the
ObjectARX 2000 download. You can download ObjectARX 2000 from
href="ftp://ftp.autodesk.com/ProdSupp/autocad2000/ObjectARXSDK.exe">
face=Arial>ftp://ftp.a...
face=Arial>.
The Image Engine SDK is in the IESDK folder
created when you extract the file from the ZIP file. I have previously
posted you some IESDK sample code.
However, IESDK is a complex API with quite
rudimentary documentation. I wouldn't recommend you attempt to use this
unless you are very confident in your C++ abilities.
Cheers,
Stephen Preston
Developer Technical Services
WW Support &
Services, Autodesk
Discussion Q&A:
href="http://www.autodesk.com/discussion">http://www.autodesk.com/discussion
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <Now,
href="mailto:liucr01@21cn.com">liucr01@21cn.com> wrote in message
href="news:f09aa15.-1@WebX.maYIadrTaRb">news:f09aa15.-1@WebX.maYIadrTaRb...
Everyone, I already insert a raster image to autocad view, I can read the
image's informations, but I don't know that how I can directly change some
pixels and immediatly update these.
Can you help me?
Thanks.
liucr.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Stephen Preston (Autodesk Developer Technical Services)" <
href="mailto:discussion.support@autodesk.com">discussion.support@autodesk.com>
åå ¥æ¶æ¯æ°é»:3CCEF4104797CD36C7CFB5E4619CDB10@in.WebX.maYIadrTaRb...
I haven't tested this, and I'm pretty rusty on
IESDK, but if you have successfully modified the image stored in the
AcDbRasterImage instance (the one you access using
title="AcDbRasterImageDef::openImage Function">
size=3>AcDbRasterImageDef::openImage()) , then all you should
need is to call
title="AcDbRasterImageDef::updateEntities Function">
face="Times New Roman" size=3>AcDbRasterImageDef::updateEntities() and then
close your AcDbRasterImageDef.
title="AcDbRasterImageDef::updateEntities Function">
face="Times New Roman" size=3>
title="AcDbRasterImageDef::updateEntities Function">
face="Times New Roman" size=3>.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <liucr01@21cn.com>
wrote in message
href="news:4B4DDA06D9B3CDA1E110DD04883B4AB1@in.WebX.maYIadrTaRb">news:4B4DDA06D9B3CDA1E110DD048......
Hi, Stephen:
First, Thank you!
A few days ago, I have already studied ths Image
Engine SDK, and I also learned not a few things from you.
Now I can use AcDbRasterImage, AcDbRasterImageDef,
IeImg,IeCxt and so on to read the pixel of raster image by IeCxt::get1(),
and I known IeCxt::put1() function can s
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>et a single pixel, and
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>IeImg::
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>storeFile() can save the
size=3>modified pixels. But I don't know how to show the modified pixels on
the AcDbRasterImage in the AutoCAD view. Can you understand
me?
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial size=3>I have learned how to read from the code you
have posted to me. I hope you can let me learn how to write the
modified pixels to screen.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>Thanks.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
size=3>Regards.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
face=Arial
size=3>Liucr.
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: å®â¹Ã¤Â½â; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">
"Stephen Preston (Autodesk Developer Technical Services)" <
href="mailto:discussion.support@autodesk.com">discussion.support@autodesk.com>
Ã¥â â¢Ã¥â¦Â¥Ã¦Â¶Ëæ¯æâ°éâ»:920DB603DDA3EDA4449053E9857CFFDD@in.WebX.maYIadrTaRb...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi Liucr,
As I mentioned to you before, you can
modify raster images using the Image Engine SDK. This is part of the
ObjectARX 2000 download. You can download ObjectARX 2000 from
href="ftp://ftp.autodesk.com/ProdSupp/autocad2000/ObjectARXSDK.exe">
face=Arial>ftp://f...
face=Arial>.
The Image Engine SDK is in the IESDK folder
created when you extract the file from the ZIP file. I have previously
posted you some IESDK sample code.
However, IESDK is a complex API with quite
rudimentary documentation. I wouldn't recommend you attempt to use
this unless you are very confident in your C++ abilities.
Cheers,
Stephen Preston
Developer Technical Services
WW Support
& Services, Autodesk
Discussion Q&A:
href="http://www.autodesk.com/discussion">http://www.autodesk.com/discussion
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"liucr" <Now,
href="mailto:liucr01@21cn.com">liucr01@21cn.com> wrote in message
href="news:f09aa15.-1@WebX.maYIadrTaRb">news:f09aa15.-1@WebX.maYIadrTaRb...
Everyone, I already insert a raster image to autocad view, I can read
the image's informations, but I don't know that how I can directly
change some pixels and immediatly update these.
Can you help me?
Thanks.
liucr.