# Export processing sketch with an image

**URL:** <https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432>\
**Category:** Processing\
**Created:** [May 20, 2019, 6:05pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432 "2019-05-20T18:05:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GuilhermeVolker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/guilhermevolker/32/5657_2.png) [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Post date:** [May 20, 2019, 6:05pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/1 "2019-05-20T18:05:51Z")

</div>

I’d exported the sketch but on the folder doesen’t show the data folder (i’am using processing 3.5.3). Where should i put the images of my sketch? ![1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/5770c8a26558dedb5b4e1f4c4aec95f2fa5f639e.png)

---

<div class="post-metadata">

**Author:** ![TheWizardBear](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/thewizardbear/32/3552_2.png) [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)\
**Post date:** [May 20, 2019, 8:16pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/2 "2019-05-20T20:16:34Z")

</div>

You can put the images wherever you want, as long as you reference the location of the image when you load it.  
If you place it in that folder with the .pde file (but not in java/lib/source) then you can load the image like this: `loadImage("img.jpg")`. Alternatively, you might want to create a folder for the images (e.g. one called images) and then you would load all the images like this: `loadImage("images/img.jpg")`.  
If you have lots of images then the latter might be better as it will make the folder with everything in a bit tidier.  
The location is relative to the location of the .pde file.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [May 21, 2019, 1:26am UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/3 "2019-05-21T01:26:37Z")

</div>

on win7 / 64bit /  
processing 3.5.3.  
a export of a sketch what has a /data/… folder and files  
results in a copy of the data folder inside win32 and win64

 ![SNAG-0114](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/d93977796fc5575d442a10faf71c7f4d4000d3a6.jpeg)

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [May 22, 2019, 7:02am UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/4 "2019-05-22T07:02:23Z")

</div>

@GuilhermeVolker What OS are you using? maybe it will be worth to report it as a bug if this can be reproduced.

Kf

---

<div class="post-metadata">

**Author:** ![GuilhermeVolker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/guilhermevolker/32/5657_2.png) [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Post date:** [May 22, 2019, 1:33pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/5 "2019-05-22T13:33:48Z")

</div>

I’am using Windows 10. Ok, i’ll report as a bug, thanks!

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [May 22, 2019, 4:36pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/6 "2019-05-22T16:36:45Z")

</div>

I have Processing version 3.5.3 and I do not see this issue. I am on Win10 x64.

I used the example `LoadDisplayImage` that is available in the example menu in the PDE. The data folder got created for both folders, win32 and win64.

Just for sanity check, use the same example and see if the error persists.

Kf

---

<div class="post-metadata">

**Author:** ![GuilhermeVolker](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/guilhermevolker/32/5657_2.png) [@GuilhermeVolker](https://discourse.processing.org/u/GuilhermeVolker)\
**Post date:** [May 22, 2019, 6:15pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/7 "2019-05-22T18:15:07Z")

</div>

haha. Yeah, on the exemple the data folder appears, i dont understand how it didan’t work

 ![1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/5568e6366054f3bda12df447c4602ca86a755e2f.png) ![2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c13a22b8c34aa78e8a5a9b17ef21929b0de7e4de.png)

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [May 22, 2019, 7:29pm UTC](https://discourse.processing.org/t/export-processing-sketch-with-an-image/11432/8 "2019-05-22T19:29:11Z")

</div>

You can share your app possibly through github, or a minimum version showing the problem. It is indeed odd. It is important to be able to reproduce as that is the first step.

Kf
