dear geoff and other users of PasteImage
on 8/1/00 you reported a problem with pasteimage:
this. The code looks fine. I tried copying several images from
Photoshop into MATLAB, using
m=pasteimage;size(m)
and everything worked fine. the image looked fine when i displayed it
w=screen(0,'openwindow');screen(w,'putimage',m*255);
can you tell me how to reproduce the failure you reported? Also,
could you explain what you meant by "PasteImage fails"? Did it crash,
or did it complain, with an error message? Or did it just pass an
image that somehow wasn't quite right?
i'm using photoshop 6.01 under mac os 6.2.2.
best
denis
on 8/1/00 you reported a problem with pasteimage:
> BUG & WORK AROUND:I just looked into the code for PasteImage.mex to see if we could fix
>
> PasteImage fails with some, but not all, images copied to the
> clipboard from Adobe Photoshop. Copying the image from the clipboard
> into another application (e.g. Microsoft Word) and then from that
> application to the clipboard, usually works. (Guessing as
> to the cause, it's possible that Photoshop is embedding the
> picture's ICC profile into the picture's comment, making the picture
> odd in a way that PasteImage ought to but doesn't cope with, and
> that Word is stripping the profile out. Embedding the ICC profile is
> generally considered a good thing, enhancing the reproducibility of
> the image, but, if this diagnosis is right, PasteImage isn't coping
> with it.) Reported by Geoff Loftus 8/1/00.
this. The code looks fine. I tried copying several images from
Photoshop into MATLAB, using
m=pasteimage;size(m)
and everything worked fine. the image looked fine when i displayed it
w=screen(0,'openwindow');screen(w,'putimage',m*255);
can you tell me how to reproduce the failure you reported? Also,
could you explain what you meant by "PasteImage fails"? Did it crash,
or did it complain, with an error message? Or did it just pass an
image that somehow wasn't quite right?
i'm using photoshop 6.01 under mac os 6.2.2.
best
denis