Search found 2 matches

by arash
Sun Aug 05, 2012 9:49 am
Forum: User Contributions
Topic: Image::Overlay patch
Replies: 3
Views: 3374

Re: Image::Overlay patch

hello Christo, existing Overlay function doesn't work at all. if you look closely at the two 'if' conditions you can see they're reverse. the rest of the function is fine. I currently use it for image overlaying and it works without a problem. generally you can use "patch" utility to apply diffs ...
by arash
Sun Aug 05, 2012 6:06 am
Forum: User Contributions
Topic: Image::Overlay patch
Replies: 3
Views: 3374

Image::Overlay patch

here is patch for Image::Overlay() function : Index: zm_image.cpp =================================================================== --- zm_image.cpp (revision 3688) +++ zm_image.cpp (working copy) @@ -711,12 +711,12 @@ void Image::Overlay( const Image &image, int x, int y ) { - if ( !(width ...