Print Page | Close Window

AddImageFromVariant PHP unpack

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=3216
Printed Date: 29 Apr 24 at 9:42AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: AddImageFromVariant PHP unpack
Posted By: makinuk
Subject: AddImageFromVariant PHP unpack
Date Posted: 26 Nov 15 at 3:24PM
Hello

I'm trying to add new image via AddImageFromVariant method

and I'm  using php 5.5

here is my code for adding new image

$v = new VARIANT(unpack("c*",$im),VT_ARRAY);
$imId = $this->_qp->AddImageFromVariant($v,0);

i'm getting always zero image ID

Im wondering is there any one who was used AddImageFromVariant via php and could tell what is wrong with my code.





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