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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:45:54+00:00 2026-06-08T06:45:54+00:00

I need to be able to take certain images from one big image on

  • 0

I need to be able to take certain images from one big image on a grid. Sort of like how in the game minecraft, there are texture packs that retexture the way the game looks. In order to keep file size down, it is not all that many actual pictures. It is a grid of all the different block texture all on one picture.

I need to do something similar to this, but using this picture: http://f.cl.ly/items/122C0G3R3P422R2I452o/fontes_blanches_alpha.png

Specifically, i want to be able to call each character from this picture from an ArrayList sort of like:

(Pseudo code)

    ArrayList<Pictures> chars = new ArrayList<Pictures>();

    JFrame.add(chars.get(x));

So, how would i separate the pictures to display only part of it?

  • 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-06-08T06:45:55+00:00Added an answer on June 8, 2026 at 6:45 am

    You could try loading the font image into a BufferedImage object. Then you can say bufferedImage.getSubimage(x,y,w,h) to get a subImage of type BufferedImage. When you have a subImage, you can add it to your “chars” ArrayList.

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

Sidebar

Related Questions

I need to be able to take a string like: '''foo, bar, one, two,
I need to be able to take a screenshot (of a vnc session, if
I need to be able to take EPS and PDF's and convert them to
Users of the website need to able to store images in their area ,
I need to be able to take an arbitrary text input that may have
For an assignment for school I need to be able to calculate certain dates.
Currently, I need to be able to retrieve values from an SQL Server DB,
I need to be able to take an element that is set as draggable
Need to be able to pull Magento products into an external template. Need to
I need to be able to access a list throughout my Rails project. For

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.