Some fixes to pythonmagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
cbusse
Posts: 2
Joined: 2011-08-11T04:10:09-07:00
Authentication code: 8675308

Some fixes to pythonmagick

Post by cbusse »

I have made a patch with some fixes for Problems with class inheritance for the Drawable* Classes in pythonmagick.

My problem now is, who I need to send them to for reviewing?

for those burning to be able to use the Drawable classes inside pythonmagick and like to try it out themself, here the uuencoded gzip of the diff file:

Code: Select all

begin 644 patch-cbusse.diff.gz
M'XL("$NZ0TX``W!A=&-H+6-B=7-S92YD:69F`+5<VW+<N!%]UU=,^<$E61?O
M6BH[I76V[)6=W:3DLF(KVLS3%,6A1HPIDD52EL>I_'L`$(,+@>X&!K(?5+OL
MTZ?!/@`(-#$\/#R<9<\OUL-M4W_(5F7^Y?EB4=;EL%@<M>N=_?W]V35L?O-F
M=OCSSP?'LWWV]\7)R]F;-SNSS;^BZHM3_;_\W\)D.OJM:JZ/-G2[?5'='#S+
MNE6_-SHMLR'[:]LU;=$-ZUW;=54,BVOFON"@`P_M?<LLQ=[._LY^7F5]/SMK
MJJ:;L(AK>Z<[^RQ:RT`F^JYM^G(H/K+HV>#QG-A!EJ[H^[*I+]=MX>$PK`!#
MTRW+FMV*X[PQ>/W>%7G#VN4/;!O]_EWVD%U7Q=N;F[)V_"TC[M_ED'.7HYZ_
M%=_+8IIVVXCZGY5=7D$M'XVX?U6V%]EP"S%(,\[AZ7.6C?"6?>SO=]D*O!,+
MA/*]R_K;MUV73<>28R=9/M[<],6`T(P`E.=]Q3+80[<EK2C#W\JJPC*L["3+
MQS;+2V>.\2!(ID_W8)_;F'&.IH;RRDVH[^]=]A6^"VE%&<[AL7Y.C?0/V>!,
M4I8-]V8]N#LO[TKH[C4`Y4%&+#E:+YH23+ZPT=Z?R^]0#I2=8*G6JZ8&.825
M9*A@'3=F@J,EIC\#03&QCM?>EOD9Z[[%-SB_$Q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?1HK6`;/BA];0^(K
M?HL07>]/D%NL]MU8J"KI*WV+)5$G_<VQ8*$F+J122X7']=*\S@)C\K5D0$:3
M0`=UU+3;`X<):B4J-=J@6,4U6:+D^K-PP9)/7%(W>#9EU!YOZIJVS?,T!!44
MBARKI>9)T5)_E2],R`D^I91K<!%+$`L96=*=1H&U\06)$D43)"@BOW`8I(:)
M)5\NKE_`4D@BD2#QFI4Z0:X<UB]<.40@AP:/"LKB1HK11'HC>OP?QNN:Q3EA
"````
`
end
For some reason the code will have some spaces to left side after pasting it from here .. so make sure to remove the spaces before you uudecode it!

As a side note, this patch was done with version pythonmagick_0.9.1-3ubuntu5. Any other source code version may need some modifications when applying this patch.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Some fixes to pythonmagick

Post by magick »

Thanks for the patch. We'll get them into the next point release of PythonMagick within a few days.
Post Reply