I am using Markup in IJulia to write notes amongst my code, and want to 
control the size of an embedded image. 

To embed the image I'm currently using the code:

![alt text](my_pic.jpg "Title")


This works fine, but doesn't give me control over the image size. Is there 
any code to add to this line to control the image size? Supposedly for some 
implementations 
<http://stackoverflow.com/questions/14675913/how-to-change-image-size-markdown> 
of Markdown the following code works, but this failed for me

![alt text](my_pic.jpg =100x100)


For an altenative I looked into the ImageView package 
<https://github.com/timholy/ImageView.jl> by Tim Holy, but got an error 
when I tried to use this in IJulia

(following the suggested syntax)

using ImageView


img = imread("my_pic.jpg")

libversion not defined

 in image2wand at /Users/Nikola/.julia/v0.3/Images/src/io.jl:304

 in _writemime at /Users/Nikola/.julia/v0.3/Images/src/io.jl:198

 in base64 at base64.jl:125

 in display_dict at /Users/Nikola/.julia/v0.3/IJulia/src/execute_request.jl:34


view(img, pixelspacing = [1,1])

view not defined

while loading In[11], in expression starting on line 1


Any suggestions?

Thanks!

Best,

Nate
 

Reply via email to