savePict and pdf problems.
daggaz
The only relevant part of the code that I can see is :
//Save image(s)
imageCh1Name = "processedImageCh1-" + num2str(i) + ".pdf"
if(HQvar!=1)
SavePICT/O/E=-8/B=(72)/P=resultPathCh1/W=(0,0,72*xDim, 72*yDim)/Win=controlWin#micrographWinCh1#micrographCh1 as imageCh1Name
else
SavePICT/O/E=-8/B=(2*72)/P=resultPathCh1/W=(0,0,2*72*xDim, 2*72*yDim)/Win=HQ_Ch1 as imageCh1Name
endif
if(channelChooser==0)
imageCh2Name = "processedImageCh2-" + num2str(i) + ".pdf"
if(HQvar!=1)
SavePICT/O/E=-8/B=(72)/P=resultPathCh2/W=(0,0,72*xDim, 72*yDim)/Win=controlWin#micrographWinCh2#micrographCh2 as imageCh2Name
else
SavePICT/O/E=-8/B=(2*72)/P=resultPathCh2/W=(0,0,2*72*xDim, 2*72*yDim)/Win=HQ_Ch2 as imageCh2Name
endif
endif
where E=-8 should save me a .pdf according to the windows flags.
and that worked fine. (On Mac, so I could simply load the pdf from the clip into the Pictures dialog.)
PDF is always high resolution so the /B flag is ignored. Since I don't know what your xDim and yDim values are, your /W spec could be the problem. I would start by removing both flags.
June 2, 2012 at 07:09 am - Permalink
June 4, 2012 at 03:54 am - Permalink