Why doesn’t Get work on Image`?

Is there another way to get this package to load?

=================

1

 

Why do you believe you need to explicitly load the Image` context? It is automatically available when you start Mathematica.
– Edmund
Sep 16 at 17:18

1

 

Short answer, because that package isn’t on $Path.
– Kuba
Sep 16 at 17:24

=================

1 Answer
1

=================

These is no such package.

Image` is a context, not a package.

I can see how this is confusing. When we use Get or Needs, we often use a notation which looks like a context. For example,

<< ErrorBarPlots` However, this is not a context. It is a platform independent notation for file paths that Mathematica uses. Mathematica has special rules to resolve the location of the actual file. You can get it using FindFile["ErrorBarPlots`"] (* "/Applications/Mathematica 11.app/Contents/AddOns/Packages/ErrorBarPlots/Kernel/init.m" *) When we do load the package, the package symbols will reside in the ErrorBarPlots` context. Context[ErrorBarPlot] (* "ErrorBarPlots`" *) This is now a context. It is a convention to use a package structure and file organization so that the special file path notation that we can use to load the package will be the same as the name of the package's main context. But this is merely a convention, and nothing is forcing you to write your packages this way. Image` is not a package, just a context containing internal symbols. It is always present, it doesn't need to be loaded. Perhaps what you really wanted was to add it to the $ContextPath. 3   Nothing is forcing but there is a message if Package` context was not created after calling << Package` . – Kuba Sep 16 at 17:43