Document look smear [message #412749] |
Sat, 11 July 2009 02:55 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Hi to all,
I encounter a problem with new scanner Canon Scanjet G3110 which is scan the normal document(A4 paper with black and white color).
I success to scan and insert the image document in my table, but i query or display out the documnet, it looks smear.
By the way i have no problem with other model printer like Canon Scanject G3010.
Attached herewith my code and the result of the image store.
Hope you all expects there help me to find out what is the problem exist there.
Thanks you.
Regards,
oracle user
|
|
|
|
|
Re: Document look smear [message #414562 is a reply to message #414151] |
Wed, 22 July 2009 11:56 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Dear David,
I had try to scan the document into MS Paint. There is not look smear on the document.
So, it is mean there is not problem on the scanner right? How should i to do now ? Amend my program in order to suite the scanner ? If yes, which part of the program i need to amend.
I'm attaching my scan program here.
Hope you can give some idea to me.
Thanks.
Regards,
oracle user
|
|
|
|
Re: Document look smear [message #415881 is a reply to message #414858] |
Wed, 29 July 2009 11:09 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Dear David,
My problem solved.
I had change the default setting of the new scanner.
Thanks for your advise, without your advise then my problem will still hanging there. Thanks a lot, David.
Regards,
oracle user
|
|
|
|
Re: Document look smear [message #420858 is a reply to message #415957] |
Wed, 02 September 2009 11:45 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Hi to all,
Now i have another problem.
When i change the setting scanner (HP G3110), my A4 document scan and insert into database it not look smear.
But when i want to scan photo, it have error.
I upload my program here. Hope can get help from you all.
Thanks.
Regards,
oracle user
|
|
|
|
|
Re: Document look smear [message #420963 is a reply to message #420861] |
Thu, 03 September 2009 08:52 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Hi to all,
I attaching the default setting for the scanner HP G3110.
If i using this default setting for scan photo (through my program) it's work. (successful inserted in my Oracle Database, but query ,it is look fine)
But scan document (through my program), my document look smear. (successful inserted in my Oracle Database, but query ,it is look smear)
I affaird it is causing my program.
In my program i using ORA_FFI.FUNCHANDLETYPE to compress the A4 document.
Is it causing by my program ?
Hope you all can help me and give some advise to me.
Thanks.
Regards,
Oracle user
function :
FUNCTION ff_compressa4 (fhandle ORA_FFI.FUNCHANDLETYPE, pageint PLS_INTEGER,
com_a4page IN OUT PLS_INTEGER)
RETURN PLS_INTEGER;
PRAGMA interface (C, ff_compressa4, 11265);
FUNCTION f_compressa4 (pageint PLS_INTEGER, com_a4page IN OUT PLS_INTEGER)
RETURN PLS_INTEGER IS
BEGIN
RETURN ff_compressa4 (compressa4_fhandle, pageint, com_a4page);
END;
|
|
|
|
Re: Document look smear [message #420971 is a reply to message #420966] |
Thu, 03 September 2009 09:02 |
oracle_user1
Messages: 45 Registered: May 2008
|
Member |
|
|
Hi to all,
Here i upload my program (scan photo and document A4)
Hope you can help me.
I encounter the problem scan document. scan photo no problem
Thanks.
Regards,
oracle user
|
|
|
|
|
|
|
|
|