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

  • Home
  • SEARCH
  • 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 4071082
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:42:41+00:00 2026-05-20T16:42:41+00:00

Hi: I am using these commands to compare colors, it works however it prints

  • 0

Hi: I am using these commands to compare colors, it works however it prints text that I do not want to be printed:

$color2= system("/usr/bin/convert xc:'#".$color2."' -format '%[pixel:s]' info:");
$result= system("/usr/bin/convert xc:'".$color."' -alpha set -channel RGBA -fuzz ".$fuzz." -fill '".$color2."' -opaque '".$color2."' -format '%[pixel:s]' info:");

outputs:

 red grey20 rgb(238,0,0) grey20 rgb(221,0,0) grey20 rgb(204,0,0) grey20 rgb(187,0,0) grey20 rgb(170,0,0) grey20 rgb(153,0,0) grey20 rgb(136,0,0) grey20 rgb(119,0,0) grey20 rgb(102,0,0) grey20 rgb(85,0,0) grey20 rgb(68,0,0) grey20 rgb(51,0,0) grey20 rgb(204,51,51) grey20 rgb(153,51,51) grey20 rgb(204,102,102) grey20 rgb(204,0,51) grey20 lime grey20 rgb(0,238,0) grey20 rgb(0,221,0) grey20 rgb(0,204,0) grey20 rgb(0,187,0) grey20 rgb(0,170,0) grey20 rgb(0,153,0) grey20 rgb(0,136,0) grey20 rgb(0,119,0) grey20 rgb(0,102,0) grey20 rgb(0,85,0) grey20 rgb(0,68,0) grey20 rgb(0,51,0) grey20 blue grey20 rgb(0,0,238) grey20 rgb(0,0,221) grey20 rgb(0,0,204) grey20 rgb(0,0,187) grey20 rgb(0,0,170) grey20 rgb(0,0,153) grey20 rgb(0,0,136) grey20 rgb(0,0,119) grey20 rgb(0,0,102) grey20 rgb(0,0,85) grey20 rgb(0,0,68) grey20 rgb(0,0,51) grey20 rgb(0,127,255) grey20 rgb(51,51,102) grey20 cyan grey20 rgb(153,204,255) grey20 rgb(127,0,255) grey20 rgb(102,45,145) grey20 rgb(255,0,127) grey20 rgb(244,154,193) grey20 yellow grey20 rgb(255,127,0) grey20 rgb(247,148,29) grey20 rgb(96,58,32) grey20 rgb(117,76,36) grey20 black grey20 grey20 grey20

How do I prevent that text from being dispalyed?

  • 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-20T16:42:41+00:00Added an answer on May 20, 2026 at 4:42 pm

    http://php.net/manual/de/function.system.php -> set the return var value, so the output is placed there instead of printed out

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

Sidebar

Related Questions

I want to write a simple server application that will take commands from a
What are the pros and cons of standardizing on using Option Compare Text vs
I am using these commands for including references: \addcontentsline{toc}{chapter}{References} \bibliographystyle{agsm} \bibliography{dissrefs} The problem is
I'm using the diff command to compare two text files. They need to be
I have not used PackedArray before, but just started looking at using them from
I want to compare two folders on Windows (Vista, XP) which have a large
Hey guys, I'm currently trying to implement a function using C that takes in
System.Threading.Interlocked.CompareExchange operator provides atomic (thus thread-safe) C# implementation of the Compare-And-Swap operation. For example
I want to using gpg in windows batch scripts and i've got little problem.
I would like to have a query using the schema database in MySQL 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.