Giter Site home page Giter Site logo

sprites's Introduction

PokéAPI Sprites

To save load on PokéAPI, we host all the sprite images here. If you want to use all the sprites in your application, you can just download the entire contents directly.

Install

Git

git clone https://github.com/PokeAPI/sprites.git

Npm

npm install --save github:PokeAPI/sprites

Bower

bower install --save PokeAPI/sprites

Sprites

The sprites are divided in the different subfolders you can see below.

sprites
\- pokemon
    \- other
        \- dream world (SVGs)
        \- official artwork (PNGs)
        \- showdown (GIFs)
        \- home (PNGs)
    \- versions
        \- generation i
            \- red and blue (PNGs with back, gray, transparent, back-gray variants)
            \- yellow (PNGs with back, gbc, gray, transparent, back-gbc, back-gray, back-transparent variants)
        \- generation ii
            \- crystal (PNGs with back, shiny, back-shiny, transparent, transparent-shiny, back-transparent, back-transparent-shiny variants)
            \- gold (PNGs with back, shiny, transparent, back-shiny variants)
            \- silver (PNGs with back, shiny, transparent, back-shiny variants)
        \- generation iii
            \- emerald (PNGs with shiny variants)
            \- fire red and leaf green (PNGs with back, shiny, back-shiny variants)
            \- ruby and sapphire (PNGs with back, shiny, back-shiny variants)
        \- generation iv
            \- diamond and pearl (PNGs with back, female, shiny, back-female, back-shiny, shiny-female variants)
            \- heart gold and soul silver (PNGs with back, female, shiny, back-female, back-shiny, shiny-female variants)
            \- platinum (PNGs with back, female, shiny, back-female, back-shiny, shiny-female variants)
        \- generation v
            \- black and white (PNGs with back, female, shiny, back-female, back-shiny, shiny-female, animated variants)
        \- generation vi
            \- omega ruby and alpha sapphire (PNGs with female, shiny, shiny-female variants)
            \- x and y (PNGs with female, shiny, shiny-female variants)
        \- generation vii
            \- ultra sun and ultra moon (PNGs with female, shiny, shiny-female variants)
            \- icons (PNGs)
        \- generation viii
            \- icons (PNGs with female variants)
    \- default PokeAPI sprites (PNGs with back, female, shiny, back-female, back-shiny, shiny-female variants)
\- items
    \- default PokeAPI items (PNGs)

All the following images are embedded at a maximum 100x100px size. All the smaller ones preserve their size while the bigger ones are embedded at 100x100px.

pokemon

other

dream-world
Front
SVG
home
Front Front shiny
PNG
512x512
PNG
512x512
official-artwork
Front Front shiny
PNG
475x475
PNG
475x475

This folder contains the custom shiny sprites of the official artwork. We thank @DevMike123 and Pokétwo who are the spriters that created these custom shiny sprites.

showdown
Front
GIF
varies

This folder contains sprites designed by the Smogon community

versions

generation i
red-blue
Front Back Front gray Front transparent Back gray
PNG
40x40, 48x48, 56x56
PNG
32x32
PNG
40x40, 48x48, 56x56
PNG
96x96
PNG
32x32
yellow
Front Back Front gbc Front gray Front transparent Back gray Back gbc Back transparent
PNG
40x40, 48x48, 56x56
PNG
32x32
PNG
40x40, 48x48, 56x56
PNG
40x40, 48x48, 56x56
PNG
96x96
PNG
32x32
PNG
32x32
PNG
96x96
generation ii
crystal
Front Back Front shiny Back shiny Front transparent Back transparent Front shiny transparent Back shiny transparent
PNG
40x40, 48x48, 56x56
PNG
40x40
PNG
40x40, 48x48, 56x56
PNG
40x40
PNG
96x96
PNG
96x96
PNG
96x96
PNG
96x96
gold
Front Back Front shiny Front transparent Back shiny
PNG
40x40, 48x48, 56x56
PNG
40x40
PNG
40x40, 48x48, 56x56
PNG
107x107, 80x80
PNG
40x40
silver
Front Back Front shiny Front transparent Back shiny
PNG
40x40, 48x48, 56x56
PNG
40x40
PNG
40x40, 48x48, 56x56
PNG
107x107, 80x80
PNG
40x40
generation iii
emerald
Front Front shiny
PNG
64x64
PNG
64x64
fire red and leaf green
Front Back Front shiny Back shiny
PNG
64x64
PNG
64x64
PNG
64x64
PNG
64x64
ruby and sapphire
Front Back Front shiny Back shiny
PNG
64x64
PNG
64x64
PNG
64x64
PNG
64x64
generation iv
diamond and pearl
Front Back Front female Front shiny Back female Back shiny Shiny female
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
heart gold and soul silver
Front Back Front female Front shiny Back female Back shiny Shiny female
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
platinum
Front Back Front female Front shiny Back female Back shiny Shiny female
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
PNG
80x80
generation v
black and white

This folder contains the official B&W sprites on top of custom sprites designed by the Smogon community

  • The sprites with IDs greater than 650 are thus not official. You can find the source of these sprites at this Smogon thread and also at this Google Sheet. We thank leParagon, Blaquaza, TheAetherPlayer, G.E.Z., KingOfThe-X-Roads, Spook, Cynda, Involuntary Twitch, mjco, Z-nogyroP, PumpkinPastel, RadicalCharizard, HM100, N-Kin, Zerudez, MyMarshlands, Wobblebuns, princessofmusic, aXl, fishbowlsoul90, HealnDeal, Espeon Scientist, AMVictory, Mega-Pokebattlerz, Layell, GeoisEvil, Quanyails, RedRooster, Wyverii, Basic Vanillite, Larryturbo, TheCynicalPoet, Arkeis, paintseagull, Branflakes325, Siiilver, Noscium, Sleet, Zermonious, Bynine, Corson, Legitimate Username, TrainerSplash, Farriella, MrDollSteak, TeraVolt, Dleep, WPS, Brylark, KattenK, Travis, SpheX, SelenaArmorclaw and Hematite, who are the spriters that created these custom B&W sprites.

  • Special thanks to KingOfThe-X-Roads for providing the front_default sprites for generation 9.

Front Back Front female Front shiny Back female Back shiny Shiny female
PNG
96x96
PNG
96x96
PNG
96x96
PNG
96x96
PNG
96x96
PNG
96x96
PNG
96x96

Animated

Front Back Front female Front shiny Back female Back shiny Shiny female
GIF
varies
GIF
varies
GIF
varies
GIF
varies
GIF
varies
GIF
varies
GIF
varies
generation vi
omega ruby and alpha sapphire
Front Front female Front shiny Shiny female
PNG
120x120
PNG
120x120
PNG
120x120
PNG
120x120
x and y
Front Front female Front shiny Shiny female
PNG
varies
PNG
varies
PNG
varies
PNG
varies
generation vii
ultra sun and ultra moon
Front Front female Front shiny Shiny female
PNG
128x128
PNG
128x128
PNG
128x128
PNG
128x128
icons
Front
PNG
40x30
generation viii
icons
Front Front female
PNG
68x56
PNG
68x56

items

Front
PNG
30x30, 24x24

Thanks

We would like to thank the Smogon community for allowing us to use and serve their custom B&W-style sprites for the Pokemon with IDs greater than 650. Check out their free and open-source Pokemon Battle Simulator at Pokémon Showdown

sprites's People

Contributors

acxz avatar alessiocali avatar alessiocelentano avatar brettkrueger avatar c-garza avatar clouddcrow avatar craig-clayton avatar cwerdna19 avatar declantyson avatar devmike123 avatar diduseetheocean avatar erezushi avatar fallendeity avatar fraca98 avatar gabeklavans avatar gabriel11447 avatar joseph-bayer avatar krdecadezero avatar malaow3 avatar matt1484 avatar miquelrforgeflow avatar mxflix avatar naramsim avatar phalt avatar saverioscagnoli avatar simonorono avatar terranibble avatar timkeding avatar victorb999 avatar ymin1103 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sprites's Issues

Are these hosted anywhere?

Ideally, I'd like to load them on a webpage only when necessary, without including every file in my repo.

I was hoping to find them at a link like:

https://pokeapi.co/sprites/sprites/pokemon/other/dream-world/1.svg

Or a link to image or sprite in the json in the API:

https://pokeapi.co/api/v2/pokemon-species/1

But no dice. I'm trying to get a link to the "dream world" pokemon sprites found in sprites\pokemon\other\dream-world

Thanks in advance for any help or suggestions. Awesome API : )

Missing some shiny variants

I've been working on a little script to make normal+shiny images, and found some missing assets.
Here is the source for it (just in case someone wants to use it):

import os
from os import path
from PIL import Image, ImageDraw


# NOTE: File is located at `sprites`, will break on other locations due to relative paths
# Read mask image
MASK   = Image.open("mask.png").convert("1") # 96x96 mask whichs splits the image in half with a diagonal cut
INPUT  = path.join(".", "pokemon")
OUTPUT = path.join(INPUT, "edited")

# Create directory if needed
if not path.exists(OUTPUT):
    os.mkdir(OUTPUT)

# Iterate all images(pokemons)
for i in os.listdir(INPUT):
    # Dodge directories
    if "." not in i:
        continue
    
    # Some pokes don't have a shiny sprite on the directory, need to handle the exception
    try:
        sprite_path = path.join(INPUT, i)
        shiny_path  = sprite_path.replace("pokemon", "pokemon/shiny")

        sprite = Image.open(sprite_path).convert("RGBA")
        shiny  = Image.open(shiny_path ).convert("RGBA")

        output = Image.composite(sprite, shiny, MASK)
        
        # Empty line on the intersection, looks fancier imo
        draw = ImageDraw.Draw(output)
        draw.line((0, 0) + output.size, width=1, fill=(0, 0, 0, 0))

        output.save(path.join(OUTPUT, i))

    except:
        print(f"{i.split('.')[0]}")

And the list of missing files

775-form-1
382-primal
384-mega
10094
676-kabuki
260-mega
10031
10018
10010
773-grass
214-mega
6-mega-y
319-mega
671-yellow
10003
10030
10075
380-mega
323-mega
354-mega
666-modern
257-mega
666-continental
10008
773-ice
710-super
10097
208-mega
150-mega-y
773-ghost
10150
10019
773-dark
65-mega
10093
666-ocean
711-large
10032
115-mega
18-mega
10009
773-normal
248-mega
666-poke-ball
150-mega-x
10011
10149
306-mega
10226
10227
383-primal
670-orange
3-mega
720-unbound
10043
710-large
10012
10017
666-fancy
676-heart
10190
10028
676-star
414-plant
10135
10132
substitute
10029
710-small
142-mega
669-white
773-dragon
359-mega
773-electric
671-white
10044
669-orange
303-mega
10024
334-mega
666-marine
10027
10134
130-mega
10005
676-debutante
773-bug
308-mega
666-jungle
773-fire
741-baile
676-pharaoh
10121
671-orange
10099
773-ground
666-monsoon
10021
10117
10020
229-mega
666-tundra
773-rock
381-mega
666-garden
716-neutral
773-psychic
666-polar
362-mega
10035
773-poison
10144
10216
773-water
711-small
10145
15-mega
774-red-meteor
778-disguised
666-archipelago
666-icy-snow
676-la-reine
670-blue
10007
9-mega
10006
373-mega
784-totem
773-steel
676-dandy
10002
10022
10151
212-mega
746-solo
302-mega
460-mega
666-elegant
310-mega
666-high-plains
10217
10131
376-mega
127-mega
428-mega
669-yellow
10095
666-sandstorm
670-white
10023
10096
531-mega
448-mega
665-icy-snow
94-mega
10122
773-fighting
666-river
475-mega
666-sun
10001
664-icy-snow
711-super
10098
773-flying
869-gmax
80-mega
719-mega
10148
6-mega-x
666-savanna
669-blue
670-yellow
10016
254-mega
773-fairy
445-mega
10025
181-mega
10068
10130
676-matron
671-blue
10004
10186
10133
745-midday
676-diamond
282-mega

Also worth noting: 804s.png is the same as shiny/804.png and can likely be deleted

Got a problem with sprites

Trying to explain it in a succinct way:

Shiny Galarian Slowking: (10169)
Official Artwork

Galarian Articuno: (10169)
Official Artwork

But 25.png and /shiny/25.png are the same pokemon in different forms.

Im going kinda "blind" fetch the shiny form of a random pokemon, some times works well, some times i get a slowking galar lol
in this case i gone for a Shiny Galarian Articuno, which doesn't exists, but it will be hard thing for me to filter in code

The API does not gives me information about the shiny form on Official Artwork, this would fix my issue!

note i would get a similar problem if trying to fetch the Galarian Slowking shiny form, because their links are 10172.png and shiny/10169.png

Can we add animated sprites and svg files?

Hi Everyone! I hope all of you are well and doing great 😃 .

Firstly, i would like to congratulate the whole PokeAPI team for building a fantastic product that serves free Pokemon related information to millions of developers every month! Take a bow, you all 👏 🎉

Secondly, as stated in my question, is it possible to add animated sprites like Animated-Zapdos and svg files like SVG-Squirtle for available pokemons in this repository? I can imagine that both animated sprites and svg files will provide their valid use cases for different category of developers (like game/apps/web developers) and PokeAPI will enrich its data offering with these new additions.

I would like to know what PokeAPI team think about this? @Naramsim
I would love to take up this responsibility and make a pull request to add animated sprites and SVG files in this repository and discuss further on how we can provide these files in API.

Looking forward to our discussion on this.
Zahin

Images from raw.githubusercontent links do not load

Hello!

The image sources supplied through the API do not load for me. When I open a URL to check, the browser says the connection has timed out. For example, loading this link - https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/5.png - in a new tab makes the browser show the connection timed out error.

I am also not able to view the images in the repository, for example - https://github.com/PokeAPI/sprites/blob/master/sprites/pokemon/10006.png - the same connection timed out error occurs.

Is this happening because I have gone past a limit of which I am not aware?

Thanks for your time!

Thumbnail Sprites

From what I can tell, it's not currently possible to grab the thumbnail/mini/small versions of sprites that are used on the Pokemon Select screen. These sprites

Do you have any plans to add these to the API? Would you except a PR?

How to use this in a nodejs application?

Daft question, I'm sure, but I'm trying to use this in a NodeJS application (in TypeScript), but it's just flaking out.
I'm importing with

import sprites from 'pokemon-sprites'

but when I run I get the error

Uncaught Error: Cannot find module '/Users/luke/pokeapi/node_modules/pokemon-sprites/index.js'. Please verify that the package.json has a valid "main" entry

which makes sense as the package.jsonmentions the index.js file, which doesn't actually exist.
Am I just being thick here and need to import it in a different way.

Also, if I get a path from pokeapi.co such as https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/132.png, how might I go about converting that into a request to this repo to grab the right image?
Thanks.
Luke

Shiny sprites of official artwork is missing.

@Naramsim I just noticed that there is no folder for the shiny sprites of official artwork.

If there's one, please let me know else add the help wanted label as I am working on it and also need others cooperation.

Thank You:)

Cannot find Gen 8 models

Hello,

I've cloned this repo to use for a project, and I cannot find the models for the Gen 8 Pokemon. I have looked in sprites/pokemon/versions/generation-viii/, but that only contains icons. I have also looked in the folder sprites/pokemon/, but the images of the Gen 8 Pokemon therein are mostly sprites, rather than models.

I like the sprites, so I could consider using those instead, but I was wondering if the Gen 8 models are meant to be in this repo or not.

How about adding the Pokémon home style images?

Hi,

What would you think of adding the Pokémon Home style images? I think I have them all (source).

I propose to place them in the dir named other: https://github.com/PokeAPI/sprites/tree/master/sprites/pokemon/other

With the following structure:
-- home
---- 001.png
---- female
------ 001.png
---- shiny
------ 001.png

The images are 512 x 512 px.
I also have icons (112 x 112 px), but those are just smaller versions of the images.

Naming the images correctly will take some time on my part, but I can create pull requests in batches.
Let me know what you think.

Numbering system for variants?

I'm using these sprites in a personal project and supplementing them with artwork from Sun & Moon. I'd like to contribute back to the PokeAPI project by submitting a pull request with this content, along with whatever data I contribute to the core. However, there are many variants (Alola forms & identical Pokemon species with different appearances and typings), and I'm curious how the project tackles these.

Game characters data

Just a suggestion to know if adding data/sprites about game characters and trainers can be a thing ?

Why is there a Rillaboom sprite for gen 5?

I've just noticed that there is a Rillaboom sprite for black and white version on the API, but where is this from? As far as I know, it's not possible to get Rillaboom on gen 5.

rillaboom

Add front_default sprites for gen9

The front_default sprites are currently missing for pokemon of the 9 generation.

Acceptance criteria:

  • sprites should match the current style of the already existing ones (b/w)
  • size should be in 96x96 pixel
  • fileformat .png

Add type name icons

I would love to be able to use PokeAPI to fetch the type name icon sprites from a specific generation.

They could be returned as a property of a type object.

The most succinct list I can find of them right now is on bulbapedia.

Duplicated Sprites

Hello there. :)
What's the reason for having (nearly) duplicated Sprites in this project?
e.g.:
We got sprites/sprites/pokemon/model/1.png with 120x120 32-bit color
image
(I croped this one only to important content)

and sprites/sprites/pokemon/versions/generation-vi/x-y/1.png with 43x48 8-bit color
image

with really minor changes

In folder sprites/sprites/pokemon/model/ there are still 3 pokemon missing from Gen 6(719 - 721) and every pokemon after Gen 6. So I don't understand the use of this certain folder.

We also have duplicated sprites with sprites/sprites/pokemon/*.png and sprites/sprites/pokemon/versions/generation-v/black-white/*.png. Here I can see that there are sprites for all future pokemon after Gen 5. So I do understand that here is a benefit.

Transparency issues on gen 5 animated variants

Animated sprites have pixels replaced with transparency that should not be. This is a relatively serious issue for anyone who wants to use these sprites for any practical purpose. These transparent pixels include but may not be limited to pixels that should be #636363. Please see 84.gif (Doduo) for reference, though it occurs to some degree on a relatively large number of sprites.

image

I understand this is probably because you took the sprites from here, which has the same issue, but there used to be another location with another set.

Here is the location for another set without this issue, but I cannot guarantee they will all be available due to being archived.

Missing original artwork images

Missing original artwork images for:
#10061 floette-eternal
#10085 pikachu-cosplay
#10116 greninja-battle-bond
#10121 gumshoos-totem
#10122 vikavolt-totem
#10130 minior-orange-meteor
#10131 minior-yellow-meteor
#10132 minior-green-meteor
#10133 minior-blue-meteor
#10134 minior-indigo-meteor
#10135 minior-violet-meteor
#10137 minior-orange
#10138 minior-yellow
#10139 minior-green
#10140 minior-blue
#10141 minior-indigo
#10142 minior-violet
#10143 mimikyu-busted
#10145 mimikyu-totem-busted
#10147 magearna-original
#10175 darmanitan-zen-galar
#10217 eternatus-eternamax

Already sumbitted a pull request for 16 other missing original artwork images.

Missing items sprites for 8 and 9 Gen

There are missing items (all I think) sprites from VIII and IX gen.

I can collect and add them, just I want to know which are the contribution guide and if is required link something in order to appear in the PokeApi?

Missing Gen 9 Sprite Icons

The icons from this repo all look great, and I was wondering if and when icons would be added for Gen 9 Pokemon. I am using them for an app I'm creating, and no other sprites I find come close in quality. I imagine these must take a lot of time to create, and I cannot really offer any help, so just a timeframe(if any) would be beneficial for me. Thank you.

File is corrupt on download

Download takes forever, then when it finally does, I have access to the sprites, but it brings up a warning saying that "this archive is corrupt"

Arceus legends sprites

Now that the new things from legends are known, sprites need to be added. Can't assign dex numbers yet I think, but opening this issue so that we can start on procuring sprites, however that's normally done

Remove white background on Gen I and Gen II sprites

Instead of having an (incomplete) transparent category, I feel like they should all already be.

Your background might not necessarily be white, so having to display a white square along with the sprite is just ugly in most cases.

If anyone has a magic script that could do that, it would be awesome! If not, I could volunteer to start removing white backgrounds and make a pull request once I'm done with either of the gens.

So what do you people think?

Spirites image qualities.

Most of the pokemon spirities are of low quality. and are not usable because of the. can we upgrade the spirites images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.