Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Does anyone have images (jpg or png) of cards in a deck of 52 cards or 54 (including two jokers)

  1. #1
    Member
    Join Date
    Apr 2024
    Posts
    39
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Does anyone have images (jpg or png) of cards in a deck of 52 cards or 54 (including two jokers)

    Hello Everybody.

    I' m trying to solve the following programming problem:


    (Pick four cards)

    Write a program that lets the user click the Refresh button to
    display four cards from a deck of 52 cards


    First of all, I think I don't need help with the creation of the program or programs to solve this exercise.

    In the past I've already created a java program to get a random card.

    But my difficulties are in getting the images of the cards.

    I've tried to search for images of the cards in a deck of cards.

    Many of the images are too big in size to be used in a java program, especially if I'm showing several cards at the same time.

    In the past I lost a lot of time searching for images, only to get images of cards that seemed to be taken from different decks.

    And also I would like the drawings in the cards to be consistent across the whole deck.

    So, I'm making this post to ask if there is someone in this forum that has the images for 52 cards or 54 (including two jokers), and could send me or allow me to download them.

    Now for the conditions.

    I prefer to use .png images because jpeg images can get corrupted, but if the only offer is for jpeg images, I'll take it.

    As for the size, I would like the cards to be in the vertical, and with a height equal or smaller than 150 pixels.

    Thank you,

    Rogério

  2. #2
    Junior Member
    Join Date
    Jan 2025
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Does anyone have images (jpg or png) of cards in a deck of 52 cards or 54 (including two jokers)

    You can find card images in PNG format on sites like OpenGameArt or Flaticon, and resize them to fit your program's needs.

Similar Threads

  1. Help with program that deals five cards from a deck
    By sjud9227 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: August 2nd, 2014, 05:28 AM
  2. Deck of cards
    By gavinqotsa92 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 20th, 2013, 10:57 AM
  3. [SOLVED] Shuffling a deck of cards
    By aterrorbite in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 5th, 2013, 07:44 PM
  4. Need help with Deck of Cards
    By yanksin1st in forum Java Theory & Questions
    Replies: 1
    Last Post: March 1st, 2012, 01:28 PM
  5. A deck of cards
    By glebovg in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 1st, 2012, 09:46 AM