Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
67 changes: 67 additions & 0 deletions logo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# This Makefile creates the logo in different formats based on the svg version
# in svg/codebar-logo.svg. A Makefile specifies how a specific file should
# be created. If that file needs a different file to work on, e.g. like the
# jpg files that need the png files, Make will create the png's first using
# the recipe specified for them.
#
# To create the images, make, imagemagick and inkscape need to be installed.
# On Mac, make should come with XCode (https://developer.apple.com/xcode/),
# imagemagick can be installed using brew (`brew install imagemagick`)
# and inkscape is available as a package from https://inkscape.org/
#
# On Linux, all three applications should be available in your package-manager
# where `make` comes with `build-essentials` on Ubuntu & `base-devel` on Arch
#
# If you want to update all rasterized versions, issuing `make all` should
# re-create all files. If Make reports `make: Nothing to be done for 'all'.`,
# that means the source file (the svg) hasn't changed and thus Make does not
# need to recreate the rasterized versions.
#
# If you want to force re-creation, issue `make clean`, which will delete all
# rasterized versions and then will force `make all` to re-create them.

# Create all derived formats using the recipes below
all: eps/codebar-logo.eps png/codebar-logo.png png/codebar-logo-160x160.png png/codebar-logo-300x300.png jpg/codebar-logo.jpg jpg/codebar-logo-160x160.jpg jpg/codebar-logo-300x300.jpg

# clean is .PHONY because it doesn't create a file.
# it will delete all derived files. Usually you won't need this.
# (https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html)
.PHONY: clean
clean:
rm eps/codebar-logo.eps
rm png/codebar-logo*.png
rm jpg/codebar-logo*.jpg

# Create an EPS version of the logo
#
# A 'target' can be read as
# > In order to create eps/codebar-logo.eps
# > Issue the following command that requires svg/codebar-logo.svg to be present
eps/codebar-logo.eps: svg/codebar-logo.svg
inkscape -z -E eps/codebar-logo.eps svg/codebar-logo.svg

# Create the logo as a PNG at different resolutions (300dpi, 160x160px, 300x300px)
png/codebar-logo.png: svg/codebar-logo.svg
inkscape -z -e png/codebar-logo.png -d 300 svg/codebar-logo.svg

png/codebar-logo-160x160.png: svg/codebar-logo.svg
inkscape -z -e png/codebar-logo-160x160.png -w 160 svg/codebar-logo.svg

png/codebar-logo-300x300.png: svg/codebar-logo.svg
inkscape -z -e png/codebar-logo-300x300.png -w 300 svg/codebar-logo.svg

# '-background white -alpha remove' so that transparency is replaced with white
# as convert would by default replace transparency (alpha) with black.
# command uses 'png/codebar-logo' as a source because convert is bad at
# converting the source file, the svg, so we use the already rasterized png.
#
# If the corresponding png is not present, Make will issue the command above
# to create the png file from the svg first.
jpg/codebar-logo.jpg: png/codebar-logo.png
convert png/codebar-logo.png -background white -alpha remove jpg/codebar-logo.jpg

jpg/codebar-logo-160x160.jpg: png/codebar-logo-160x160.png
convert png/codebar-logo-160x160.png -background white -alpha remove jpg/codebar-logo-160x160.jpg

jpg/codebar-logo-300x300.jpg: png/codebar-logo-300x300.png
convert png/codebar-logo-300x300.png -background white -alpha remove jpg/codebar-logo-300x300.jpg
2,158 changes: 0 additions & 2,158 deletions logo/ai/cities/codebar-belfast-logos.ai

This file was deleted.

2,246 changes: 0 additions & 2,246 deletions logo/ai/cities/codebar-birmingham-logos.ai

This file was deleted.

2,251 changes: 0 additions & 2,251 deletions logo/ai/cities/codebar-bournemouth-logos.ai

This file was deleted.

2,148 changes: 0 additions & 2,148 deletions logo/ai/cities/codebar-brighton-logos.ai

This file was deleted.

2,189 changes: 0 additions & 2,189 deletions logo/ai/cities/codebar-cambridge-logos.ai

This file was deleted.

2,131 changes: 0 additions & 2,131 deletions logo/ai/cities/codebar-london-logos.ai

This file was deleted.

2,154 changes: 0 additions & 2,154 deletions logo/ai/cities/codebar-manchester-logos.ai

This file was deleted.

2,147 changes: 0 additions & 2,147 deletions logo/ai/cities/codebar-slondon-logos.ai

This file was deleted.

2,167 changes: 0 additions & 2,167 deletions logo/ai/cities/codebar-wlondon-logos.ai

This file was deleted.

1,926 changes: 0 additions & 1,926 deletions logo/ai/general/codebar-logo-001.ai

This file was deleted.

1,847 changes: 0 additions & 1,847 deletions logo/ai/general/codebar-logo-002.ai

This file was deleted.

1,816 changes: 0 additions & 1,816 deletions logo/ai/general/codebar-logo-003.ai

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed logo/eps/160x160px/general/codebar-logo-160-001.eps
Binary file not shown.
Binary file removed logo/eps/160x160px/general/codebar-logo-160-002.eps
Binary file not shown.
Binary file removed logo/eps/160x160px/general/codebar-logo-160-003.eps
Binary file not shown.
Binary file removed logo/eps/160x160px/logotype-160.eps
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed logo/eps/300x300px/general/codebar-logo-300-001.eps
Binary file not shown.
Binary file removed logo/eps/300x300px/general/codebar-logo-300-002.eps
Binary file not shown.
Binary file removed logo/eps/300x300px/general/codebar-logo-300-003.eps
Binary file not shown.
Binary file removed logo/eps/300x300px/logotype-300.eps
Binary file not shown.
203 changes: 203 additions & 0 deletions logo/eps/codebar-logo.eps

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added logo/jpg/codebar-logo-160x160.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/jpg/codebar-logo-300x300.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/jpg/codebar-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed logo/png/160x160px/cities/codebar-london-160-001.png
Diff not rendered.
Binary file removed logo/png/160x160px/cities/codebar-london-160-002.png
Diff not rendered.
Binary file removed logo/png/160x160px/cities/codebar-london-160-003.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed logo/png/160x160px/general/codebar-logo-160-001.png
Diff not rendered.
Binary file removed logo/png/160x160px/general/codebar-logo-160-002.png
Diff not rendered.
Binary file removed logo/png/160x160px/general/codebar-logo-160-003.png
Diff not rendered.
Binary file removed logo/png/160x160px/logotype-160.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed logo/png/300x300px/cities/codebar-london-300-001.png
Diff not rendered.
Binary file removed logo/png/300x300px/cities/codebar-london-300-002.png
Diff not rendered.
Binary file removed logo/png/300x300px/cities/codebar-london-300-003.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed logo/png/300x300px/general/codebar-logo-300-001.png
Diff not rendered.
Binary file removed logo/png/300x300px/general/codebar-logo-300-002.png
Diff not rendered.
Binary file removed logo/png/300x300px/general/codebar-logo-300-003.png
Diff not rendered.
Binary file removed logo/png/300x300px/logotype-300.png
Diff not rendered.
Binary file added logo/png/codebar-logo-160x160.png
Binary file added logo/png/codebar-logo-300x300.png
Binary file added logo/png/codebar-logo.png
Binary file removed logo/png/website-logo.png
Diff not rendered.
52 changes: 52 additions & 0 deletions logo/svg/codebar-logo.svg