Print Page | Close Window

Search for blank space to insert a qrcode

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2823
Printed Date: 04 Apr 26 at 10:14PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Search for blank space to insert a qrcode
Posted By: Michi
Subject: Search for blank space to insert a qrcode
Date Posted: 07 Feb 14 at 4:31PM
Hello,

is there way to search in an external pdf (scanned or emailed) for a blank space (eg. 2.5 cm x 2.5 cm) to insert a qrcode?

I don't want to append an empty page with only the qrcode.

Thanks


Michi



Replies:
Posted By: Ingo
Date Posted: 11 Feb 14 at 7:39AM
Hi Michi!
 
Not as a QuickPDF-function.
You can render a pdf-page to a bitmap
and check the rgb-values of the pixels
in a special range.
If they are all 255/255/255 then it's
white.
If you've scaled down the bitmap before
the performance should be okay.
 
Cheers and welcome here,
Ingo
 


-------------
Cheers,
Ingo



Posted By: Michi
Date Posted: 17 Mar 14 at 3:29PM
Hallo Ingo,

good idea!
And not so much work.

But I run into a new problem with empty qrcodes -> next post.


Thanks

Michael



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk