Home »
Public Forums »
archive »
Re: IDLgrImage
Re: IDLgrImage [message #13914] |
Wed, 30 December 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
DBorland (davidbor@cyber-dyne.com) writes:
> I'm having problems getting an image file to display using object
> graphics. Here is a demo procedure that I am using to test the concept.
> [snip...]
> What happens though, is that I get a black box
> in the upper right hand corner, that is about a quarter of the screen
> size.
>
> Does anyone have any suggestions on how I might fix this?
What you are seeing the the lowermost pixel of your image,
not a black box. :-)
This is not an uncommon problem for people just starting
out with object graphics. At least you see *something*.
Most of us see *nothing* and then we are really confused. :-)
My suggestion is to either scale your image into your
view, or enlarge your view to include your image. You can
see an example of how this is done from the XImage program
on my web page.
http://www.dfanning.com/programs/ximage.pro
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Note: A copy of this article was e-mailed to the original poster.
|
|
|
Current Time: Sun Oct 12 14:43:00 PDT 2025
Total time taken to generate the page: 1.84031 seconds