comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLtoAVIGENERATOR gives unexpected output when dimension is not power of 2?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLtoAVIGENERATOR gives unexpected output when dimension is not power of 2? [message #52118] Sun, 07 January 2007 12:55 Go to previous message
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Hello,

I've been using idl2avi.dlm and lately the new IDLtoAVIGENERATOR.dlm
quite a few times and it all gives me satisfactory results. Recently I
need to make avi output under windows with some random size, say
258x349, not 128x128,256x256 as usual. The program runs smoothly and
generates avi output. However, when I open avi with windows media
player, the frames are like skewed by 30 to 60 degrees and sometimes
the color is also screwed up. When I force the program to feed 256x256
images, it works fine. It seems to be codec independent and
reproducible in different machines. Also it does not matter if it is
generated with 8bits or 24 bits. My guess in the title may not be
completely true since I did not try all possible combinations of
dimensions. The example testAVIgenerator works with its default size
300x400, but not some other size 258x349. But strangely 300x400 does
not work in my program. I also had good luck with size of 512x[some
random dimension smaller than 512] or [some random dimension smaller
than 512]x512. I am totally lost here. Am I the only one who has this
problem? Can someone help me understand this?

Many thanks!
BP
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: save image from ENVI to TIFF file
Next Topic: Draw an ellipsoid without orb + scale method

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:35:07 PDT 2025

Total time taken to generate the page: 1.36350 seconds