---
title: "Comment by Ashok Reddy on \"Start Generating Dynamic PDFs in APEX Easily with OCI Pre-Built Functions\" | Hashnode"
description: "Hi Timo, Thanks for taking time explaining in detailed about the new OCI function. I was able to get through text data in PDF output but I'm getting invalid err"
url: "https://hashnode.com/posts/start-generating-dynamic-pdfs-in-apex-easily-with-oci-pre-built-functions/65e5a0a4178d3caf379de807/comment/6613c41f180af1c2e9d4dd0c"
---

[Discussion](https://hashnode.com/posts/start-generating-dynamic-pdfs-in-apex-easily-with-oci-pre-built-functions/65e5a0a4178d3caf379de807)

Comment [Start Generating Dynamic PDFs in APEX Easily with OCI Pre-Built Functions](https://hashnode.com/posts/start-generating-dynamic-pdfs-in-apex-easily-with-oci-pre-built-functions/65e5a0a4178d3caf379de807)

[Ashok Reddy](https://hashnode.com/@ARAnnem)

[Apr 8, 2024](https://hashnode.com/posts/start-generating-dynamic-pdfs-in-apex-easily-with-oci-pre-built-functions/65e5a0a4178d3caf379de807/comment/6613c41f180af1c2e9d4dd0c)

Hi Timo,

Thanks for taking time explaining in detailed about the new OCI function.

I was able to get through text data in PDF output but I'm getting invalid errors when I tried with (image) / (text and image) in a single PDF file even though I tried to use the syntax mentioned in OCI documentation as below.

Can you please help me sort out or do a POC using image file ?

{ "my\_image": { "source": "OBJECT\_STORAGE", "objectName": "image.png", "namespace": "object\_storage\_namespace", "bucketName": "my\_bucket\_name", "mediaType": "image/png", "width": "400px", "height": "200px" } }
