Skip to content

Commit

Permalink
more updates to adjust project name, closes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
mike42 committed May 7, 2018
1 parent 69d0202 commit 6a4a3f2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = image-php
SPHINXPROJ = gfx-php
SOURCEDIR = .
BUILDDIR = _build

Expand Down
12 changes: 6 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# -- Project information -----------------------------------------------------

project = 'image-php'
project = 'gfx-php'
copyright = '2018, Michael Billington'
author = 'Michael Billington'

Expand Down Expand Up @@ -102,7 +102,7 @@
# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'image-phpdoc'
htmlhelp_basename = 'gfx-phpdoc'


# -- Options for LaTeX output ------------------------------------------------
Expand All @@ -129,7 +129,7 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'image-php.tex', 'image-php Documentation',
(master_doc, 'gfx-php.tex', 'gfx-php Documentation',
'Michael Billington', 'manual'),
]

Expand All @@ -139,7 +139,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'image-php', 'image-php Documentation',
(master_doc, 'gfx-php', 'gfx-php Documentation',
[author], 1)
]

Expand All @@ -150,8 +150,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'image-php', 'image-php Documentation',
author, 'image-php', 'One line description of project.',
(master_doc, 'gfx-php', 'gfx-php Documentation',
author, 'gfx-php', 'One line description of project.',
'Miscellaneous'),
]

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Features
Installation
------------

Install image-php by running:
Install gfx-php by running:

.. code-block:: bash
composer install mike42/image-php
composer install mike42/gfx-php
Contribute
----------
Expand Down
4 changes: 2 additions & 2 deletions docs/user/formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ In either case, the input format is determined using the file's `magic number`_.
Netpbm Formats
^^^^^^^^^^^^^^

The Netpbm formats are a series of uncompressed bitmap formats, which can represent most types of image. The formats can be read by ``image-php``.
The Netpbm formats are a series of uncompressed bitmap formats, which can represent most types of image. The formats can be read by ``gfx-php``.

:PNM: This is a file extension only. Files carrying ``.pnm`` extension can carry any of the below formats.
:PPM: This is a color raster format. A PPM file is identified by the P6 magic number, and will be loaded into an instance of :class:`RgbRasterImage`.
:PGM: This is a monochrome raster format. A PGM file is identified by the P5 magic number, and will be loaded instance of :class:`GrayscaleRasterImage`.
:PBM: This is a 1-bit bitmap format. A PBM file is identified by the P4 header, and loaded into an instance of :class:`BlackAndWhiteRasterImage`.

Each of these formats has both a binary and text encoding. ``image-php`` only supports the binary encodings at this stage.
Each of these formats has both a binary and text encoding. ``gfx-php`` only supports the binary encodings at this stage.

Output formats
--------------
Expand Down
2 changes: 1 addition & 1 deletion docs/user/imagetypes.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Image types
===========

Every raster image in ``image-php`` implements the :class:`RasterImage` interface.
Every raster image in ``gfx-php`` implements the :class:`RasterImage` interface.

There are several classes that implement this interface, which handle different representations of
the image data.
Expand Down
4 changes: 2 additions & 2 deletions src/Mike42/GfxPhp/RasterImage.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
// This file is part of mike42/image-php, which is released under LGPL-2.1-or-later.
// See file LICENSE or go to https://github.com/mike42/image-php for full license details
// This file is part of mike42/gfx-php, which is released under LGPL-2.1-or-later.
// See file LICENSE or go to https://github.com/mike42/gfx-php for full license details

/**
* Top-level namespace for Mike42\GfxPhp, containing the classes and
Expand Down

0 comments on commit 6a4a3f2

Please sign in to comment.