Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
FileSystem
Guides
File System Operations
Symbols
BrowserOpen
DirectorySize
ImageRead
PeterBurbery`FileSystem`
I
m
a
g
e
R
e
a
d
I
m
a
g
e
R
e
a
d
[
t
y
p
e
,
f
i
l
e
]
r
e
a
d
s
f
i
l
e
a
s
a
t
y
p
e
i
m
a
g
e
a
n
d
r
e
t
u
r
n
s
t
h
e
i
m
a
g
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
2
)
I
n
[
1
]
:
=
N
e
e
d
s
[
"
P
e
t
e
r
B
u
r
b
e
r
y
`
F
i
l
e
S
y
s
t
e
m
`
"
]
Import an image:
I
n
[
2
]
:
=
I
m
a
g
e
R
e
a
d
[
"
P
N
G
"
,
F
i
n
d
F
i
l
e
[
"
E
x
a
m
p
l
e
D
a
t
a
/
s
p
i
k
e
y
2
.
p
n
g
"
]
]
O
u
t
[
2
]
=
Export a random image as a PNG file:
I
n
[
1
]
:
=
f
i
l
e
=
E
x
p
o
r
t
[
"
t
e
s
t
.
p
n
g
"
,
R
a
n
d
o
m
I
m
a
g
e
[
1
,
{
1
0
0
0
,
1
0
0
0
}
]
]
O
u
t
[
1
]
=
t
e
s
t
.
p
n
g
Import the file with
I
m
a
g
e
R
e
a
d
one hundred times, noting the elapsed time:
I
n
[
2
]
:
=
t
i
m
i
n
g
A
=
D
o
I
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