[SOLVED] I have a problem displaying an image from Clipboard
Author: eitan@amital.co.il (hareitan)
Hi. I have a DUMMY field, widget type = Picture, Data type = Image (any source) (also tried Data type = raw data). I'm trying to paste an image clipboard data from PrintScreen to the field, but keep getting a "FORMAT" image error. If I paste first into any graphic tool (e.g. MSPaint, IrfanView etc.) and Copy it again - it's pastes correctly. I've noticed a difference between the raw data. When pasting dircetly from the clipboard (after Print Screen), the data looks like: "#BM{lq{&{!{!{!{!{!6{!{!{!({!{!{!W{"{!{!{%{"{!{!{"{! {!{${!{!{!pq{&{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!|q{!{!|q{!{!|q{!{!{!{P|N|e|q{P|N|e|q{P|N|e|q{P|N|e|q{P|N|e|q{P|N|e|q{P|N|e|q|d|V|I|q|d|V|I|q|d|V|I|q|d|V|I|q|d|V|I|q|d|V|I|q|e|^|[|qLLL|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b|q|b|b|b| and when pasting from MSPaint it looks like: "#BMV{9{%{!{!{!{!{!6{!{!{!({!{!{!W{"{!{!{%{"{!{!{"{!{9{!{!{!{!{! {9{%{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{!{P|N|e{P|N|e{P|N|e{P|N|e{P|N|e{P|N|e{P|N|e|d|V|I|d|V|I|d|V|I|d|V|I|d|V|I|d|V|I|e|^|[LLL|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b|b| Can anyone help? Thanks Eitan
Daniel