workaround for multiple jpeg file problem
Issue #30
resolved
Using a couple more lines when reading the JPEG files in Issue #29 seems to work. Here is the code:
for ifil=0,nf-1 do begin
fil='test\test'+strtrim(ifil,2)+'.jpg'
openr,1,fil
read_jpeg,fil,unit=1,img,true=1
close,1
print,ifil
endfor
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Closed.
- Log in to comment
There is a bug in read_jpeg and the file is not closed. You have found the workaround Fixed for the next snapshot.