Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pedro Adão 43 posts 80 karma points
    Nov 17, 2016 @ 18:50
    Pedro Adão
    0

    Get the dominant color for an image

    Hi,

    Ive seen a video or article about this but I cannot find it anymore.

    The ideia is to upload an imagem into Media. In this process get the dominant color of that image and save it in a image property called ex: "Dominant color".

  • Proxicode 128 posts 324 karma points
    Nov 17, 2016 @ 19:32
    Proxicode
    0

    @JimBobSquarePants has you covered. Look into using ImageProcessor. He has shared the code here

    https://gist.github.com/JimBobSquarePants/f39697395a46e5358f3cfe9425f55628

  • Pedro Adão 43 posts 80 karma points
    Nov 18, 2016 @ 10:34
    Pedro Adão
    0

    Thank you.

    I will try it. =)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies