If you want to learn clojure by image processing, thats fine, but if your 
goal is to do the image processing part rather sooner than later, I 
recommend using an external lib like imagemagick or sharp 
(http://sharp.dimens.io/en/stable/) to do that for you, and hook it via FFI.

As for interacting with instagram, linkedin, etc - there should be libs out 
there for that. If there are no libs, its easy to consume those service's 
APIs via clojure.

On Tuesday, July 19, 2016 at 8:26:15 AM UTC+1, Cecil Westerhof wrote:
>
> It never hurts to combine things. I just started again with Clojure and I 
> started with taking photos. In doing the latter I found out that I can take 
> nice pictures of insects. But they mostly only take a part of the photo. At 
> the moment I am using Image Magick on the command line with trial and error 
> to crop the right part of the photo. For example:
>     https://www.instagram.com/p/BH7r97NgvFX/
>
> But this is a ‘bit’ of work. So I was thinking about writing a Clojure 
> program to do the cropping for me. That would save me a lot of time I think 
> and the best way to learn a language is to use it. I think I could manage 
> most parts, but I need a little help.
>
> My pictures have a dimension of 5,184x3,456 and I need to make a crop of 
> 1.080x1.080. This is a little to big for my screen. So I am thinking about 
> dividing everything by 8.
>
> I need to know two things:
> - How would I display the picture as a 648x432 picture?
> - How do I draw a square of 135x135 on it? So I can select what to crop.
>
> There are some other things to find out. But those I can find out for 
> myself I would think. ;-)
>
> Would anyone be interested in something like this? Then I could share it 
> on GitHub.
> If anyone has ideas for other functionalities: let me know.
> I have myself a few:
> - Posting the picture on Instagram (and others) from the program.
> - Putting the pictures into SQLite.
> - Something to select pictures out of a range.
> - …
>
> How easy is it to use Clojure to work with InstaGram, LinkedIn, FaceBook, 
> Google+ and Twitter?
>
> -- 
> Cecil Westerhof
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to