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 6827589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:17:00+00:00 2026-05-26T22:17:00+00:00

Foursquare’s category icons returned all have a white background and a rounded border. Is

  • 0

Foursquare’s category icons returned all have a white background and a rounded border.
Is it possible to get those images with transparent backgrounds and/or with no border?
It would really save a few couple of hours.

  • 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-26T22:17:00+00:00Added an answer on May 26, 2026 at 10:17 pm

    I don’t think they’re officially available with transparent backgrounds, no. However, I wrote a bit of python a while ago that will download all the category icons, which you can find here and then a bit of imagemagick wizardry should allow you to replace the white background with transparent.

    A quick python script to go through a directory of images and call imagemagick on each one to replace a white background with transparent (you might need to play with the fuzz factor to get acceptable results):

    import os
    
    current_dir = os.getcwd( )
    files = os.listdir( current_dir )
    for fname in files:
        if '.png' in fname:
            trans_name = fname[ :fname.rfind( '.' ) ] + '_transparent.png'
            os.system( 'convert %s -fuzz 15%% -transparent white %s' % ( fname, trans_name ) )
    

    Then to crop the border, do the same, but the imagemagick command you want is -crop, so replace the last couple of lines in the script with:

    cropped_name = fname[ :fname.rfind( '.' ) ] + '_cropped.png'
    os.system( 'convert %s -crop 26x26+3+3 %s' % ( fname,cropped_name ) ) 
    

    hope that all helps (and saves a couple of hours of work!)

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

Sidebar

Related Questions

I'm trying to figure out Foursquare's OAuth so I can have a user sign
class FourSquareTestHandler(SecurePageHandler): def get(self): logging.info('***********************') logging.info('*****GET****') logging.info('***********************') try: request =\ urllib2.Request('https://api.foursquare.com/v2/users/self/checkins?oauth_token=LAF1W3VMSI0DGQYIBTNIYVIZG4VE2RFGESM45LDJRSQHFTK3&v=20120123') data = simplejson.load(urllib2.urlopen(request))
I was browsing Foursquare recently and they have this neat feature where you can
How can I get the access token from a foursquare request in cocoa? I
I'm developing a fun little project using Foursquare API. In this project, I have
I am trying to get some locations in New York using FourSquare API using
I have a list of badge messages exported by users through twitter: i.e. https://foursquare.com/ruben_es/badge/4f07d1fee4b026656d9dad16?ref=tw
I have integrate Foursquare API for iPhone application.I want to check this particular user
The https://developer.foursquare.com/overview/responses page shows the range of http errors that can be returned by
Is it possible to delete photos via the Foursquare API? I don't see any

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.