Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6624081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:36:35+00:00 2026-05-25T21:36:35+00:00

Like the the amazing histogram property in Ruby (RMagicK), that computes a list of

  • 0

Like the the amazing “histogram” property in Ruby (RMagicK), that computes a list of colors in a photo, in order of frequency – is there anything similar to this for Classic ASP/.NET, in the form of a third-party plugin or component?

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:36:35+00:00Added an answer on May 25, 2026 at 9:36 pm

    It sounds like RMagick is a derivative of ImageMagick. The Windows version has an installer that allows you to install a COM component. (You will have to check this in the installer for it to be installed). Link

    This COM component can be used from classic ASP.

    I have some classic ASP code that uses ImageMagick, the syntax is a bit unusual. Please note that this won’t function on its own, because it depends om some other functions, but it will give you an idea of how to use the COM component:

    function DrawPoly(destFile, coordinates, fillcolor, strokecolor)
        ' Draws a single polygon and returns a result-image
        Dim img: Set img = CreateObject("ImageMagickObject.MagickImage.1")
        dim polygon, DrawCommand, DrawResult
            polygon = trim(coordinates)
            polygon = normalizeCoordinates(polygon,10)
            DrawCommand = "polygon " & trim(polygon)
            DrawResult  = img.Convert(Server.Mappath(destFile), "-matte", "-fill", fillColor, "-stroke", strokeColor, "-draw", DrawCommand, Server.Mappath(destFile))
            If Err.Number <> 0 Then Response.Write(Err.Number & ": " & Err.Description & vbCrLf & msgs)
        DrawPoly = destFile
        Set img = nothing
    end function
    

    I don’t know how to perform a histogram, but I hope this piece of code together with the imagemagick docs will get you there.

    Erik

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In vim, there is this amazing plugin called command-t, that lets you fuzzy-search through
https://www.readability.com/ is really amazing. I'm building a web app with content that I'd like
I have a piece of code like this: <figure> <img title=An amazing image that
I have a list view like below: <asp:ListView ID=lstTopRanks runat=server> <ItemTemplate> <div class=Amazing-{recordNumber}>{itemdata}</div> </ItemTemplate>
Continuous Integration servers like Hudson are a pretty amazing addition to software development. I
First off, kudos to the amazing apache cordova team for making a platform-independent native-like
Like setFont(QFont(Helvetica,16,1)) ,I want to summerize these fonts.However,I dont't know how many fonts there
I'm working with Super CSV and it looks like an amazing package. My only
This is an amazing effect like PPT. Link is here : http://udc.weibo.com/builder2011/data.html I know
The amazing Illustrator plugin Ai->canvas exports arbitrary complex Illustrator images to Javascript code that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.