Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagemagick
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian
imagemagick
Commits
9fae96fc
Commit
9fae96fc
authored
Jul 25, 2013
by
cristy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
78096b41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
Magick++/lib/Image.cpp
Magick++/lib/Image.cpp
+15
-0
Magick++/lib/Magick++/Image.h
Magick++/lib/Magick++/Image.h
+8
-1
No files found.
Magick++/lib/Image.cpp
View file @
9fae96fc
...
...
@@ -475,6 +475,21 @@ void Magick::Image::annotate ( const std::string &text_,
throwImageException
();
}
void
Magick
::
Image
::
artifact
(
const
std
::
string
&
name_
,
const
std
::
string
&
value_
)
{
modifyImage
();
(
void
)
SetImageArtifact
(
image
(),
name_
.
c_str
(),
value_
.
c_str
()
);
}
std
::
string
Magick
::
Image
::
artifact
(
const
std
::
string
&
name_
)
{
const
char
*
value
=
GetImageArtifact
(
image
(),
name_
.
c_str
()
);
if
(
value
)
return
std
::
string
(
value
);
return
std
::
string
(
);
}
// Blur image
void
Magick
::
Image
::
blur
(
const
double
radius_
,
const
double
sigma_
)
{
...
...
Magick++/lib/Magick++/Image.h
View file @
9fae96fc
...
...
@@ -162,7 +162,14 @@ namespace Magick
// gravity.
void
annotate
(
const
std
::
string
&
text_
,
const
GravityType
gravity_
);
// Inserts the artifact with the specified name and value into
// the artifact tree of the image.
void
artifact
(
const
std
::
string
&
name_
,
const
std
::
string
&
value_
);
// Returns the value of the artifact with the specified name.
std
::
string
artifact
(
const
std
::
string
&
name_
);
// Blur image with specified blur factor
// The radius_ parameter specifies the radius of the Gaussian, in
// pixels, not counting the center pixel. The sigma_ parameter
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment