Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-09-2009, 01:31 PM   #44 (permalink)
falcon76
Registered Member
 
Join Date: Dec 2009
Posts: 3
falcon76 is on a distinguished road
Default

Quote:
Originally Posted by apiphone View Post
Hi,

I am getting an error while creating the pdf files.
It says : GDB: Program received signal EXC_BAD_ACCESS

I'm using the same code and it is creating a blank pfd file.
Why????
I have the same error, the problem should be somewhere here:

provider = CGDataProviderCreateWithURL (pictureURL);
CFRelease (pictureURL);
image = CGImageCreateWithPNGDataProvider (provider, NULL, true, kCGRenderingIntentDefault);
CGDataProviderRelease (provider);
CGContextDrawImage (pdfContext, CGRectMake(200, 200, 207, 385),image);
CGImageRelease (image);

I'm trying to understand what's not working but I start programming one week ago.... I'm a totally noob!
Thanks anyway for the code, I'm learning a lot from this.
falcon76 is offline   Reply With Quote
 

» Advertisements
» Online Users: 817
24 members and 793 guests
ADY, Agenor, baja_yu, cgokey, Creativ, dansparrow, Duncan C, fkmtc, ilmman, imac74, iram901, kosicki123, latoncefrank, maggyparker, muchless, mwyld, nestochi, Promo Dispenser, raidu, SillyHoney, stanny, ubaid, xltke, _MAK88_
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,387
Threads: 94,003
Posts: 402,461
Top Poster: BrianSlick (7,978)
Welcome to our newest member, latoncefrank
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:42 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.