Re: ImageCaptureCore - to Variable?

2018-02-01 Thread Keisuke Miyako via 4D_Tech
the callback signature, as explained the sample DB, is

 $1 C_LONGINT: param_scan_type
 $2 C_TEXT: param_scan_path
 $3 C_BLOB: param_scan_data
 $4 C_TEXT: param_scan_context_info

$4 contains parameters such as

dataSize
dataNumRows
dataStartRow
bytesPerRow
numComponents
bitsPerComponent
bitsPerPixel
fullImageHeight
fullImageWidth
isBigEndian
pixelDataType
colorSyncProfilePath

procedurally creating a picture from these parameters in not impossible,
but it's so much easier to just let the driver create it for you.

> 2018/02/02 0:50、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール:
> maybe another time, if I find where it starts.




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ImageCaptureCore - to Variable?

2018-02-01 Thread Keith Culotta via 4D_Tech
maybe another time, if I find where it starts.

> On Jan 31, 2018, at 6:46 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> but you receive binary RGB data in chunks,
> and you have to build your own JPG, PNG, TIFF, whatever, by code.
> 
> do you really want to go down that path?

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ImageCaptureCore - to Variable?

2018-01-31 Thread Keisuke Miyako via 4D_Tech
yes,

but you receive binary RGB data in chunks,
and you have to build your own JPG, PNG, TIFF, whatever, by code.

do you really want to go down that path?

2018/02/01 8:03、Keith Culotta via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Is an image available somewhere using this option?



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

ImageCaptureCore - to Variable?

2018-01-31 Thread Keith Culotta via 4D_Tech
Hello,

I'm experimenting with 4d-plugin-ica and it's working.  Is it possible to avoid 
scanning to a disk file?
I tried ICA SET SCAN OPTION ($scanner;Scanner transfer mode;String(Scanner 
transfer mode data))
and can see a BLOB is being built.

Using BLOB TO PICTURE  and BLOB TO VARIABLE (with a picture variable) do not 
result in an image.

Is an image available somewhere using this option?

Thanks,

Keith - CDI
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**