Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.io.image
Commits
6575291e
Commit
6575291e
authored
9 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Plain Diff
Merge pull request #10 from tiagofrepereira2012/master
Fixed issue
#9
parents
e76bd52a
96d0b804
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bob/io/image/pnmio.cpp
+0
-0
0 additions, 0 deletions
bob/io/image/pnmio.cpp
bob/io/image/pnmio.h
+3
-0
3 additions, 0 deletions
bob/io/image/pnmio.h
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
4 additions
and
1 deletion
bob/io/image/pnmio.c
→
bob/io/image/pnmio.c
pp
+
0
−
0
View file @
6575291e
File moved
This diff is collapsed.
Click to expand it.
bob/io/image/pnmio.h
+
3
−
0
View file @
6575291e
...
...
@@ -48,6 +48,8 @@
/* PNM/PFM API. */
extern
"C"
{
int
get_pnm_type
(
FILE
*
f
);
int
read_pbm_header
(
FILE
*
f
,
int
*
img_xdim
,
int
*
img_ydim
,
int
*
is_ascii
);
int
read_pgm_header
(
FILE
*
f
,
int
*
img_xdim
,
int
*
img_ydim
,
int
*
img_colors
,
...
...
@@ -66,5 +68,6 @@ int write_pgm_file(FILE *f, int *img_out,
int
write_ppm_file
(
FILE
*
f
,
int
*
img_out
,
int
x_size
,
int
y_size
,
int
x_scale_val
,
int
y_scale_val
,
int
img_colors
,
int
is_ascii
,
unsigned
int
bytes_per_sample
);
}
#endif
/* PNMIO_H */
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
6575291e
...
...
@@ -397,7 +397,7 @@ setup(
"
bob/io/image/png.cpp
"
,
"
bob/io/image/jpeg.cpp
"
,
"
bob/io/image/bmp.cpp
"
,
"
bob/io/image/pnmio.c
"
,
"
bob/io/image/pnmio.c
pp
"
,
"
bob/io/image/netpbm.cpp
"
,
"
bob/io/image/main.cpp
"
,
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment