# Add File or directory src / asset / segmentation / horse.jpg on Julia

**URL:** <https://discourse.julialang.org/t/add-file-or-directory-src-asset-segmentation-horse-jpg-on-julia/22811>\
**Category:** General Usage\
**Created:** [April 5, 2019, 5:27pm UTC](https://discourse.julialang.org/t/add-file-or-directory-src-asset-segmentation-horse-jpg-on-julia/22811 "2019-04-05T17:27:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GERSON\_EZEQUIEL\_HERN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gerson_ezequiel_hern/32/7437_2.png) [@GERSON\_EZEQUIEL\_HERN](https://discourse.julialang.org/u/GERSON_EZEQUIEL_HERN)\
**Post date:** [April 5, 2019, 5:27pm UTC](https://discourse.julialang.org/t/add-file-or-directory-src-asset-segmentation-horse-jpg-on-julia/22811/1 "2019-04-05T17:27:56Z")

</div>

add File or directory src / asset / segmentation / horse.jpg on Julia.

```julia
julia> using Images, ImageView

julia> img = load("src/assets/segmentation/horse.jpg")
Error encountered while loading "src/assets/segmentation/horse.jpg".
Fatal error:
ERROR: UnableToOpenBlob `src/assets/segmentation/horse.jpg': No such file or directory @ error/blob.c/OpenBlob/2873
Stacktrace:
 [1] handle_error(::ErrorException, ::File{DataFormat{:JPEG}}) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\error_handling.jl:80
 [2] handle_exceptions(::Array{Any,1}, ::String) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\error_handling.jl:75
 [3] #load#27(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::File{DataFormat{:JPEG}}) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\loadsave.jl:193
 [4] load(::File{DataFormat{:JPEG}}) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\loadsave.jl:172
 [5] #load#13(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\loadsave.jl:118
 [6] load(::String) at C:\Users\gerso\.julia\packages\FileIO\e8FNK\src\loadsave.jl:118
 [7] top-level scope at none:0

```

---

<div class="post-metadata">

**Author:** ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Post date:** [April 5, 2019, 7:45pm UTC](https://discourse.julialang.org/t/add-file-or-directory-src-asset-segmentation-horse-jpg-on-julia/22811/2 "2019-04-05T19:45:07Z")

</div>

Clearly, `src/asset/segmentation/horse.jpg` does not exist relative to your current working directory. What is the directory you’re running Julia in (run `pwd()` to find out), and where is `horse.jpg` (what is the full path to it)?

Also, in the future, please describe your problem with at least a brief sentence so that people don’t have to guess at what problem it is you’re trying to solve.
