Permalink
Browse files

add skin whitening tool

  • Loading branch information...
1 parent 977a259 commit c32343de97226d6dc20ab73a86314dc18d95f30c @hejiann committed Jul 16, 2012
View
@@ -4,3 +4,4 @@ beautify-textures.h
rip-border
rip-border-textures.h
skin-whitening
+skin-whitening-images.h
View
@@ -51,7 +51,13 @@ rip-border-textures.h: rip-border-textures.list
$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat rip-border-textures.list` > $(@F)
skin-whitening: skin-whitening.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+ $(CC) -o $@ $^ $(LIBS)
+
+skin-whitening.o: skin-whitening.c skin-whitening-images.h
+ $(CC) $(CFLAGS) -c skin-whitening.c -o skin-whitening.o
+
+skin-whitening-images.h: skin-whitening-images.list
+ $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat skin-whitening-images.list` > $(@F)
clean:
rm -f *.o beautify rip-border skin-whitening
View
11 README
@@ -6,16 +6,11 @@ Beautify is a set of GIMP plugins for easiest and quickly photo beautify.
INSTALL
===================
-just running the install.sh
+make && make install
Note:
Be sure that you have installed the gimp-devel-tools package before install.
-UPDATE
-===================
-
-just running the install.sh to update.
-
USING
===================
@@ -28,6 +23,10 @@ Support: #beautify on FreeNode
CHANGELOG
===================
+2012-07-16
+add Makefile
+add skin whitening tool
+
2012-07-15
beautify: add warm yellow effect
beautify: add classic HDR effect
View
@@ -0,0 +1,45 @@
+# GIMP curves tool settings
+
+(time 0)
+(time 0)
+(channel value)
+(curve
+ (curve-type smooth)
+ (n-points 17)
+ (points 34 0.000000 0.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 1.000000 1.000000)
+ (n-samples 256)
+ (samples 256 0.000000 0.003922 0.007843 0.011765 0.015686 0.019608 0.023529 0.027451 0.031373 0.035294 0.039216 0.043137 0.047059 0.050980 0.054902 0.058824 0.062745 0.066667 0.070588 0.074510 0.078431 0.082353 0.086275 0.090196 0.094118 0.098039 0.101961 0.105882 0.109804 0.113725 0.117647 0.121569 0.125490 0.129412 0.133333 0.137255 0.141176 0.145098 0.149020 0.152941 0.156863 0.160784 0.164706 0.168627 0.172549 0.176471 0.180392 0.184314 0.188235 0.192157 0.196078 0.200000 0.203922 0.207843 0.211765 0.215686 0.219608 0.223529 0.227451 0.231373 0.235294 0.239216 0.243137 0.247059 0.250980 0.254902 0.258824 0.262745 0.266667 0.270588 0.274510 0.278431 0.282353 0.286275 0.290196 0.294118 0.298039 0.301961 0.305882 0.309804 0.313725 0.317647 0.321569 0.325490 0.329412 0.333333 0.337255 0.341176 0.345098 0.349020 0.352941 0.356863 0.360784 0.364706 0.368627 0.372549 0.376471 0.380392 0.384314 0.388235 0.392157 0.396078 0.400000 0.403922 0.407843 0.411765 0.415686 0.419608 0.423529 0.427451 0.431373 0.435294 0.439216 0.443137 0.447059 0.450980 0.454902 0.458824 0.462745 0.466667 0.470588 0.474510 0.478431 0.482353 0.486275 0.490196 0.494118 0.498039 0.501961 0.505882 0.509804 0.513725 0.517647 0.521569 0.525490 0.529412 0.533333 0.537255 0.541176 0.545098 0.549020 0.552941 0.556863 0.560784 0.564706 0.568627 0.572549 0.576471 0.580392 0.584314 0.588235 0.592157 0.596078 0.600000 0.603922 0.607843 0.611765 0.615686 0.619608 0.623529 0.627451 0.631373 0.635294 0.639216 0.643137 0.647059 0.650980 0.654902 0.658824 0.662745 0.666667 0.670588 0.674510 0.678431 0.682353 0.686275 0.690196 0.694118 0.698039 0.701961 0.705882 0.709804 0.713725 0.717647 0.721569 0.725490 0.729412 0.733333 0.737255 0.741176 0.745098 0.749020 0.752941 0.756863 0.760784 0.764706 0.768627 0.772549 0.776471 0.780392 0.784314 0.788235 0.792157 0.796078 0.800000 0.803922 0.807843 0.811765 0.815686 0.819608 0.823529 0.827451 0.831373 0.835294 0.839216 0.843137 0.847059 0.850980 0.854902 0.858824 0.862745 0.866667 0.870588 0.874510 0.878431 0.882353 0.886275 0.890196 0.894118 0.898039 0.901961 0.905882 0.909804 0.913725 0.917647 0.921569 0.925490 0.929412 0.933333 0.937255 0.941176 0.945098 0.949020 0.952941 0.956863 0.960784 0.964706 0.968627 0.972549 0.976471 0.980392 0.984314 0.988235 0.992157 0.996078 1.000000))
+(time 0)
+(channel red)
+(curve
+ (curve-type smooth)
+ (n-points 17)
+ (points 34 0.000000 0.007843 -1.000000 -1.000000 0.121569 0.223529 -1.000000 -1.000000 0.247059 0.427451 -1.000000 -1.000000 0.372549 0.600000 -1.000000 -1.000000 0.498039 0.741176 -1.000000 -1.000000 0.623529 0.854902 -1.000000 -1.000000 0.749020 0.933333 -1.000000 -1.000000 0.874510 0.980392 -1.000000 -1.000000 1.000000 0.996078)
+ (n-samples 256)
+ (samples 256 0.007843 0.014949 0.022054 0.029157 0.036258 0.043355 0.050447 0.057533 0.064613 0.071686 0.078750 0.085805 0.092850 0.099884 0.106905 0.113914 0.120909 0.127889 0.134853 0.141800 0.148730 0.155641 0.162533 0.169404 0.176254 0.183082 0.189887 0.196667 0.203422 0.210152 0.216854 0.223529 0.230187 0.236838 0.243481 0.250115 0.256740 0.263353 0.269953 0.276540 0.283112 0.289668 0.296207 0.302728 0.309229 0.315709 0.322167 0.328602 0.335013 0.341398 0.347757 0.354088 0.360389 0.366661 0.372901 0.379108 0.385282 0.391420 0.397523 0.403588 0.409614 0.415601 0.421547 0.427451 0.433318 0.439154 0.444960 0.450735 0.456480 0.462194 0.467877 0.473529 0.479151 0.484743 0.490303 0.495833 0.501333 0.506802 0.512240 0.517647 0.523024 0.528370 0.533686 0.538971 0.544225 0.549449 0.554642 0.559804 0.564936 0.570037 0.575107 0.580147 0.585156 0.590135 0.595083 0.600000 0.604885 0.609735 0.614552 0.619336 0.624086 0.628804 0.633490 0.638143 0.642765 0.647356 0.651916 0.656445 0.660944 0.665414 0.669854 0.674264 0.678647 0.683000 0.687326 0.691624 0.695895 0.700139 0.704356 0.708547 0.712713 0.716852 0.720967 0.725057 0.729122 0.733164 0.737182 0.741176 0.745149 0.749102 0.753035 0.756947 0.760836 0.764703 0.768546 0.772365 0.776159 0.779927 0.783670 0.787385 0.791072 0.794731 0.798361 0.801961 0.805530 0.809067 0.812573 0.816046 0.819486 0.822891 0.826261 0.829596 0.832894 0.836155 0.839378 0.842563 0.845708 0.848814 0.851879 0.854902 0.857885 0.860831 0.863739 0.866609 0.869443 0.872240 0.875001 0.877727 0.880417 0.883071 0.885692 0.888277 0.890829 0.893347 0.895832 0.898284 0.900704 0.903091 0.905446 0.907770 0.910063 0.912325 0.914557 0.916758 0.918930 0.921073 0.923187 0.925272 0.927328 0.929357 0.931359 0.933333 0.935278 0.937193 0.939077 0.940931 0.942754 0.944546 0.946308 0.948039 0.949739 0.951409 0.953048 0.954657 0.956234 0.957782 0.959298 0.960784 0.962239 0.963664 0.965058 0.966421 0.967754 0.969056 0.970328 0.971568 0.972779 0.973958 0.975107 0.976225 0.977313 0.978370 0.979396 0.980392 0.981350 0.982263 0.983133 0.983961 0.984749 0.985499 0.986211 0.986887 0.987529 0.988137 0.988715 0.989261 0.989780 0.990271 0.990736 0.991176 0.991594 0.991990 0.992366 0.992723 0.993063 0.993388 0.993698 0.993995 0.994280 0.994556 0.994823 0.995082 0.995336 0.995586 0.995833 0.996078))
+(time 0)
+(channel green)
+(curve
+ (curve-type smooth)
+ (n-points 17)
+ (points 34 0.000000 0.007843 -1.000000 -1.000000 0.121569 0.223529 -1.000000 -1.000000 0.247059 0.427451 -1.000000 -1.000000 0.372549 0.600000 -1.000000 -1.000000 0.498039 0.741176 -1.000000 -1.000000 0.623529 0.854902 -1.000000 -1.000000 0.749020 0.933333 -1.000000 -1.000000 0.874510 0.980392 -1.000000 -1.000000 1.000000 0.996078)
+ (n-samples 256)
+ (samples 256 0.007843 0.014949 0.022054 0.029157 0.036258 0.043355 0.050447 0.057533 0.064613 0.071686 0.078750 0.085805 0.092850 0.099884 0.106905 0.113914 0.120909 0.127889 0.134853 0.141800 0.148730 0.155641 0.162533 0.169404 0.176254 0.183082 0.189887 0.196667 0.203422 0.210152 0.216854 0.223529 0.230187 0.236838 0.243481 0.250115 0.256740 0.263353 0.269953 0.276540 0.283112 0.289668 0.296207 0.302728 0.309229 0.315709 0.322167 0.328602 0.335013 0.341398 0.347757 0.354088 0.360389 0.366661 0.372901 0.379108 0.385282 0.391420 0.397523 0.403588 0.409614 0.415601 0.421547 0.427451 0.433318 0.439154 0.444960 0.450735 0.456480 0.462194 0.467877 0.473529 0.479151 0.484743 0.490303 0.495833 0.501333 0.506802 0.512240 0.517647 0.523024 0.528370 0.533686 0.538971 0.544225 0.549449 0.554642 0.559804 0.564936 0.570037 0.575107 0.580147 0.585156 0.590135 0.595083 0.600000 0.604885 0.609735 0.614552 0.619336 0.624086 0.628804 0.633490 0.638143 0.642765 0.647356 0.651916 0.656445 0.660944 0.665414 0.669854 0.674264 0.678647 0.683000 0.687326 0.691624 0.695895 0.700139 0.704356 0.708547 0.712713 0.716852 0.720967 0.725057 0.729122 0.733164 0.737182 0.741176 0.745149 0.749102 0.753035 0.756947 0.760836 0.764703 0.768546 0.772365 0.776159 0.779927 0.783670 0.787385 0.791072 0.794731 0.798361 0.801961 0.805530 0.809067 0.812573 0.816046 0.819486 0.822891 0.826261 0.829596 0.832894 0.836155 0.839378 0.842563 0.845708 0.848814 0.851879 0.854902 0.857885 0.860831 0.863739 0.866609 0.869443 0.872240 0.875001 0.877727 0.880417 0.883071 0.885692 0.888277 0.890829 0.893347 0.895832 0.898284 0.900704 0.903091 0.905446 0.907770 0.910063 0.912325 0.914557 0.916758 0.918930 0.921073 0.923187 0.925272 0.927328 0.929357 0.931359 0.933333 0.935278 0.937193 0.939077 0.940931 0.942754 0.944546 0.946308 0.948039 0.949739 0.951409 0.953048 0.954657 0.956234 0.957782 0.959298 0.960784 0.962239 0.963664 0.965058 0.966421 0.967754 0.969056 0.970328 0.971568 0.972779 0.973958 0.975107 0.976225 0.977313 0.978370 0.979396 0.980392 0.981350 0.982263 0.983133 0.983961 0.984749 0.985499 0.986211 0.986887 0.987529 0.988137 0.988715 0.989261 0.989780 0.990271 0.990736 0.991176 0.991594 0.991990 0.992366 0.992723 0.993063 0.993388 0.993698 0.993995 0.994280 0.994556 0.994823 0.995082 0.995336 0.995586 0.995833 0.996078))
+(time 0)
+(channel blue)
+(curve
+ (curve-type smooth)
+ (n-points 17)
+ (points 34 0.000000 0.007843 -1.000000 -1.000000 0.121569 0.223529 -1.000000 -1.000000 0.247059 0.427451 -1.000000 -1.000000 0.372549 0.600000 -1.000000 -1.000000 0.498039 0.741176 -1.000000 -1.000000 0.623529 0.854902 -1.000000 -1.000000 0.749020 0.933333 -1.000000 -1.000000 0.874510 0.980392 -1.000000 -1.000000 1.000000 0.996078)
+ (n-samples 256)
+ (samples 256 0.007843 0.014949 0.022054 0.029157 0.036258 0.043355 0.050447 0.057533 0.064613 0.071686 0.078750 0.085805 0.092850 0.099884 0.106905 0.113914 0.120909 0.127889 0.134853 0.141800 0.148730 0.155641 0.162533 0.169404 0.176254 0.183082 0.189887 0.196667 0.203422 0.210152 0.216854 0.223529 0.230187 0.236838 0.243481 0.250115 0.256740 0.263353 0.269953 0.276540 0.283112 0.289668 0.296207 0.302728 0.309229 0.315709 0.322167 0.328602 0.335013 0.341398 0.347757 0.354088 0.360389 0.366661 0.372901 0.379108 0.385282 0.391420 0.397523 0.403588 0.409614 0.415601 0.421547 0.427451 0.433318 0.439154 0.444960 0.450735 0.456480 0.462194 0.467877 0.473529 0.479151 0.484743 0.490303 0.495833 0.501333 0.506802 0.512240 0.517647 0.523024 0.528370 0.533686 0.538971 0.544225 0.549449 0.554642 0.559804 0.564936 0.570037 0.575107 0.580147 0.585156 0.590135 0.595083 0.600000 0.604885 0.609735 0.614552 0.619336 0.624086 0.628804 0.633490 0.638143 0.642765 0.647356 0.651916 0.656445 0.660944 0.665414 0.669854 0.674264 0.678647 0.683000 0.687326 0.691624 0.695895 0.700139 0.704356 0.708547 0.712713 0.716852 0.720967 0.725057 0.729122 0.733164 0.737182 0.741176 0.745149 0.749102 0.753035 0.756947 0.760836 0.764703 0.768546 0.772365 0.776159 0.779927 0.783670 0.787385 0.791072 0.794731 0.798361 0.801961 0.805530 0.809067 0.812573 0.816046 0.819486 0.822891 0.826261 0.829596 0.832894 0.836155 0.839378 0.842563 0.845708 0.848814 0.851879 0.854902 0.857885 0.860831 0.863739 0.866609 0.869443 0.872240 0.875001 0.877727 0.880417 0.883071 0.885692 0.888277 0.890829 0.893347 0.895832 0.898284 0.900704 0.903091 0.905446 0.907770 0.910063 0.912325 0.914557 0.916758 0.918930 0.921073 0.923187 0.925272 0.927328 0.929357 0.931359 0.933333 0.935278 0.937193 0.939077 0.940931 0.942754 0.944546 0.946308 0.948039 0.949739 0.951409 0.953048 0.954657 0.956234 0.957782 0.959298 0.960784 0.962239 0.963664 0.965058 0.966421 0.967754 0.969056 0.970328 0.971568 0.972779 0.973958 0.975107 0.976225 0.977313 0.978370 0.979396 0.980392 0.981350 0.982263 0.983133 0.983961 0.984749 0.985499 0.986211 0.986887 0.987529 0.988137 0.988715 0.989261 0.989780 0.990271 0.990736 0.991176 0.991594 0.991990 0.992366 0.992723 0.993063 0.993388 0.993698 0.993995 0.994280 0.994556 0.994823 0.995082 0.995336 0.995586 0.995833 0.996078))
+(time 0)
+(channel alpha)
+(curve
+ (curve-type free)
+ (n-points 17)
+ (points 34 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000)
+ (n-samples 256)
+ (samples 256 0.000000 0.003922 0.007843 0.011765 0.015686 0.019608 0.023529 0.027451 0.031373 0.035294 0.039216 0.043137 0.047059 0.050980 0.054902 0.058824 0.062745 0.066667 0.070588 0.074510 0.078431 0.082353 0.086275 0.090196 0.094118 0.098039 0.101961 0.105882 0.109804 0.113725 0.117647 0.121569 0.125490 0.129412 0.133333 0.137255 0.141176 0.145098 0.149020 0.152941 0.156863 0.160784 0.164706 0.168627 0.172549 0.176471 0.180392 0.184314 0.188235 0.192157 0.196078 0.200000 0.203922 0.207843 0.211765 0.215686 0.219608 0.223529 0.227451 0.231373 0.235294 0.239216 0.243137 0.247059 0.250980 0.254902 0.258824 0.262745 0.266667 0.270588 0.274510 0.278431 0.282353 0.286275 0.290196 0.294118 0.298039 0.301961 0.305882 0.309804 0.313725 0.317647 0.321569 0.325490 0.329412 0.333333 0.337255 0.341176 0.345098 0.349020 0.352941 0.356863 0.360784 0.364706 0.368627 0.372549 0.376471 0.380392 0.384314 0.388235 0.392157 0.396078 0.400000 0.403922 0.407843 0.411765 0.415686 0.419608 0.423529 0.427451 0.431373 0.435294 0.439216 0.443137 0.447059 0.450980 0.454902 0.458824 0.462745 0.466667 0.470588 0.474510 0.478431 0.482353 0.486275 0.490196 0.494118 0.498039 0.501961 0.505882 0.509804 0.513725 0.517647 0.521569 0.525490 0.529412 0.533333 0.537255 0.541176 0.545098 0.549020 0.552941 0.556863 0.560784 0.564706 0.568627 0.572549 0.576471 0.580392 0.584314 0.588235 0.592157 0.596078 0.600000 0.603922 0.607843 0.611765 0.615686 0.619608 0.623529 0.627451 0.631373 0.635294 0.639216 0.643137 0.647059 0.650980 0.654902 0.658824 0.662745 0.666667 0.670588 0.674510 0.678431 0.682353 0.686275 0.690196 0.694118 0.698039 0.701961 0.705882 0.709804 0.713725 0.717647 0.721569 0.725490 0.729412 0.733333 0.737255 0.741176 0.745098 0.749020 0.752941 0.756863 0.760784 0.764706 0.768627 0.772549 0.776471 0.780392 0.784314 0.788235 0.792157 0.796078 0.800000 0.803922 0.807843 0.811765 0.815686 0.819608 0.823529 0.827451 0.831373 0.835294 0.839216 0.843137 0.847059 0.850980 0.854902 0.858824 0.862745 0.866667 0.870588 0.874510 0.878431 0.882353 0.886275 0.890196 0.894118 0.898039 0.901961 0.905882 0.909804 0.913725 0.917647 0.921569 0.925490 0.929412 0.933333 0.937255 0.941176 0.945098 0.949020 0.952941 0.956863 0.960784 0.964706 0.968627 0.972549 0.976471 0.980392 0.984314 0.988235 0.992157 0.996078 1.000000))
+
+# end of curves tool settings
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,18 @@
+skin_whitening_1
+ ./images/skin_whitening_1.jpg
+skin_whitening_2
+ ./images/skin_whitening_2.jpg
+skin_whitening_3
+ ./images/skin_whitening_3.jpg
+skin_whitening_4
+ ./images/skin_whitening_4.jpg
+skin_whitening_5
+ ./images/skin_whitening_5.jpg
+skin_whitening_6
+ ./images/skin_whitening_6.jpg
+skin_whitening_7
+ ./images/skin_whitening_7.jpg
+skin_whitening_8
+ ./images/skin_whitening_8.jpg
+skin_whitening_9
+ ./images/skin_whitening_9.jpg
Oops, something went wrong.

0 comments on commit c32343d

Please sign in to comment.