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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:15:57+00:00 2026-05-13T06:15:57+00:00

Is there a way to convert an image on the fly to Red on

  • 0

Is there a way to convert an image on the fly to “Red on Black” for accessibility? I have pictures that I want to stream to the iphone. Viewing them at night, Red on Black is better for viewing.

  • 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-13T06:15:58+00:00Added an answer on May 13, 2026 at 6:15 am

    Answer:

    You’re much better off making your own night friendly images, and swapping those out along with text color, etc.

    I’m not sure how you have your current images implemented, but before they load you could check for BOOL isNightTime, and if it returns TRUE, then load the nightTime images instead. I would suggest taking your current image set, and duplicating it with the prefix nt_.


    Bonus:

    You can take this a step further. Grab the GPS location, then use the location to get weather information from Wunderground. Part of their report includes the times of Sunrise and Sunset. You could then use those values and check them against the current time (be careful that all the time zones are playing nice), and from the result of that, enable the NightTime image set.

    If you do implement this, make sure that the user can still enable or disable it to his/her preference.

    I had originally said NOAA, but I can’t find where that information is on their website. I know it’s there somewhere. Why are .gov sites so ugly? Anyways, I changed it to mention Wunderground instead, just scroll down to the Astronomy section. They have a pretty well done iPhone website as well, worth checking out.


    Bonus 2:

    I’m unsure what your maps/images look like, but instead of having to edit them all to red on black, you could instead edit them to white on black, and put a layer on top of that which would allow the user to pick any color/intensity. Instead of using a layer, you could likely also programmatically implement it, but I think a colorizing layer would be much faster/easier.

    An alternate method of doing this is to instead make your map transparent/black, and put a layer underneath that which could change colors to the user’s liking. You could implement this on a finer scale (place rects of color behind objects/text/whatever else) to allow for full color customization.

    Both use transparency to some extent, but I believe that the alternate method requires less overall work.


    Bonus 3:

    If you’re already going through the effort to grab the GPS coordinates, it wouldn’t be too much additional work to have it also check with another server, which would point out other users using the application locally on the map. Make sure this is disabled by default, as lots of users are uncomfortable with broadcasting their location to the world.


    Science:

    It’s also worth mentioning that green is a horrible color to use if you’re looking for night friendliness. Red is the color you want to be using. Red light doesn’t cause the eye to release the enzymes which cause you to lose your nightvision (what you get once your eyes adjust). This is the reason the inside of military vehicles usually have red interior lights, and also why every movie you’ve ever seen with tactical anything uses lots of red lighting.

    Red light is also used to preserve night vision in low-light or night-time situations, as the rod cells in the human eye aren’t sensitive to red.
    –Wikipedia

    I learned this when I went up to Kitt Peak National Observatory this Thanksgiving on a family trip to Arizona. They hand out little keychains with red lights on them, so you can see where you’re going in the dark. It was probably one of the coolest things I’ve ever participated in. I learned so much. If you’re in the Tuscon area, or have another observatory local to you, I strongly suggest checking them out.

    The keychain they gave me broke and it fell off somewhere, it’s nowhere to be found 🙁 It was my only souvenir. If anybody from KPNO happens to see this and wants to mail me another one, my email address is in my profile.

    Also here’s a link that goes into far much more detail than needed, but I know you’re all going to google it anyways.

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

Sidebar

Related Questions

Is there any way to convert the image so it appears as a gray
Is there a way to convert a Java Image, encode it into JPEG (but
Is there a way to convert HTML into XAML? I noticed that you can
Is there a way to convert pps charts and scorecards to image ?
I have a QString of JSON-encoded dictionaries. Is there a simple way to convert
I want to convert image to base 64 encode to string. from that to
is there a way i can convert text into Image & then Rotate it
Is there any way I can convert the input text into an image. What
Is there any specific way to convert jpeg images to black and white using
Is there a way to convert an image to grayscale 16 bits per pixel

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.