summaryrefslogtreecommitdiffstats
path: root/share/extensions/__pycache__/extractimage.cpython-39.pyc
blob: 39a0ed2b88fb9679a3d442c6746182bf8454afe4 (plain)
ofshex dumpascii
0000 61 0d 0d 0a 00 00 00 00 ec 85 01 60 31 0d 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a..........`1...................
0020 00 08 00 00 00 40 00 00 00 73 78 00 00 00 64 00 5a 00 64 01 64 02 6c 01 5a 01 64 01 64 02 6c 02 .....@...sx...d.Z.d.d.l.Z.d.d.l.
0040 5a 02 64 01 64 03 6c 02 6d 03 5a 03 01 00 7a 10 64 01 64 04 6c 04 6d 05 5a 05 01 00 57 00 6e 1e Z.d.d.l.m.Z...z.d.d.l.m.Z...W.n.
0060 04 00 65 06 79 4e 01 00 01 00 01 00 64 01 64 05 6c 04 6d 07 5a 05 01 00 59 00 6e 02 30 00 47 00 ..e.yN......d.d.l.m.Z...Y.n.0.G.
0080 64 06 64 07 84 00 64 07 65 02 6a 08 83 03 5a 09 65 0a 64 08 6b 02 72 74 65 09 83 00 a0 0b a1 00 d.d...d.e.j...Z.e.d.k.rte.......
00a0 01 00 64 02 53 00 29 09 7a 1a 0a 45 78 74 72 61 63 74 20 65 6d 62 65 64 64 65 64 20 69 6d 61 67 ..d.S.).z..Extract.embedded.imag
00c0 65 73 2e 0a e9 00 00 00 00 4e 29 01 da 05 49 6d 61 67 65 29 01 da 0b 64 65 63 6f 64 65 62 79 74 es.......N)...Image)...decodebyt
00e0 65 73 29 01 da 0c 64 65 63 6f 64 65 73 74 72 69 6e 67 63 00 00 00 00 00 00 00 00 00 00 00 00 00 es)...decodestringc.............
0100 00 00 00 03 00 00 00 40 00 00 00 73 34 00 00 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 64 02 64 03 .......@...s4...e.Z.d.Z.d.Z.d.d.
0120 84 00 5a 04 64 04 64 05 84 00 5a 05 65 06 64 06 64 07 84 00 83 01 5a 07 64 08 64 09 84 00 5a 08 ..Z.d.d...Z.e.d.d.....Z.d.d...Z.
0140 64 0a 53 00 29 0b da 0c 45 78 74 72 61 63 74 49 6d 61 67 65 7a 24 45 78 74 72 61 63 74 20 69 6d d.S.)...ExtractImagez$Extract.im
0160 61 67 65 73 20 61 6e 64 20 73 61 76 65 20 74 6f 20 66 69 6c 65 6e 61 6d 65 73 63 02 00 00 00 00 ages.and.save.to.filenamesc.....
0180 00 00 00 00 00 00 00 02 00 00 00 07 00 00 00 43 00 00 00 73 2a 00 00 00 7c 01 6a 00 64 01 64 02 ...............C...s*...|.j.d.d.
01a0 74 01 6a 02 64 03 64 04 64 05 8d 05 01 00 7c 01 6a 00 64 06 64 07 64 08 64 09 8d 03 01 00 64 00 t.j.d.d.d.....|.j.d.d.d.d.....d.
01c0 53 00 29 0a 4e 7a 02 2d 73 7a 0e 2d 2d 73 65 6c 65 63 74 65 64 6f 6e 6c 79 7a 1c 45 78 74 72 61 S.).Nz.-sz.--selectedonlyz.Extra
01e0 63 74 20 6f 6e 6c 79 20 73 65 6c 65 63 74 65 64 20 69 6d 61 67 65 73 54 29 03 da 04 74 79 70 65 ct.only.selected.imagesT)...type
0200 da 04 68 65 6c 70 da 07 64 65 66 61 75 6c 74 7a 0a 2d 2d 66 69 6c 65 70 61 74 68 da 01 2e 7a 1c ..help..defaultz.--filepath...z.
0220 4c 6f 63 61 74 69 6f 6e 20 74 6f 20 73 61 76 65 20 74 68 65 20 69 6d 61 67 65 73 2e 29 02 72 08 Location.to.save.the.images.).r.
0240 00 00 00 72 07 00 00 00 29 03 da 0c 61 64 64 5f 61 72 67 75 6d 65 6e 74 da 05 69 6e 6b 65 78 da ...r....)...add_argument..inkex.
0260 07 42 6f 6f 6c 65 61 6e 29 02 da 04 73 65 6c 66 da 04 70 61 72 73 a9 00 72 0f 00 00 00 fa 2d 2f .Boolean)...self..pars..r.....-/
0280 68 6f 6d 65 2f 6d 63 2f 31 30 78 2f 73 68 61 72 65 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 65 78 74 home/mc/10x/share/extensions/ext
02a0 72 61 63 74 69 6d 61 67 65 2e 70 79 da 0d 61 64 64 5f 61 72 67 75 6d 65 6e 74 73 23 00 00 00 73 ractimage.py..add_arguments#...s
02c0 0c 00 00 00 00 01 0c 01 04 ff 06 02 08 01 02 ff 7a 1a 45 78 74 72 61 63 74 49 6d 61 67 65 2e 61 ................z.ExtractImage.a
02e0 64 64 5f 61 72 67 75 6d 65 6e 74 73 63 01 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 04 00 00 dd_argumentsc...................
0300 00 43 00 00 00 73 3e 00 00 00 7c 00 6a 00 6a 01 72 1a 7c 00 6a 02 6a 03 a0 04 74 05 a1 01 a0 06 .C...s>...|.j.j.r.|.j.j...t.....
0320 a1 00 6e 0a 7c 00 6a 02 a0 07 64 01 a1 01 7d 01 7c 01 44 00 5d 0e 7d 02 7c 00 a0 08 7c 02 a1 01 ..n.|.j...d...}.|.D.].}.|...|...
0340 01 00 71 2a 64 00 53 00 29 02 4e 7a 0b 2f 2f 73 76 67 3a 69 6d 61 67 65 29 09 da 07 6f 70 74 69 ..q*d.S.).Nz.//svg:image)...opti
0360 6f 6e 73 da 0c 73 65 6c 65 63 74 65 64 6f 6e 6c 79 da 03 73 76 67 da 09 73 65 6c 65 63 74 69 6f ons..selectedonly..svg..selectio
0380 6e da 06 66 69 6c 74 65 72 72 02 00 00 00 da 06 76 61 6c 75 65 73 da 05 78 70 61 74 68 da 0d 65 n..filterr......values..xpath..e
03a0 78 74 72 61 63 74 5f 69 6d 61 67 65 29 03 72 0d 00 00 00 da 05 65 6c 65 6d 73 da 04 65 6c 65 6d xtract_image).r......elems..elem
03c0 72 0f 00 00 00 72 0f 00 00 00 72 10 00 00 00 da 06 65 66 66 65 63 74 29 00 00 00 73 0c 00 00 00 r....r....r......effect)...s....
03e0 00 02 06 ff 14 01 0a ff 02 03 08 01 7a 13 45 78 74 72 61 63 74 49 6d 61 67 65 2e 65 66 66 65 63 ............z.ExtractImage.effec
0400 74 63 01 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 05 00 00 00 43 00 00 00 73 32 00 00 00 7c tc....................C...s2...|
0420 00 a0 00 64 01 64 02 a1 02 64 02 19 00 a0 00 64 03 a1 01 64 04 19 00 7d 01 64 05 64 06 64 07 64 ...d.d...d.....d...d...}.d.d.d.d
0440 08 64 09 9c 03 a0 01 7c 01 7c 01 a1 02 17 00 53 00 29 0a 7a 2a 52 65 74 75 72 6e 20 61 6e 20 65 .d.....|.|.....S.).z*Return.an.e
0460 78 74 65 6e 73 69 6f 6e 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 6d 69 6d 65 20 74 79 70 65 fa xtension.based.on.the.mime.type.
0480 01 2f e9 01 00 00 00 fa 01 2b 72 01 00 00 00 72 09 00 00 00 7a 04 2e 73 76 67 7a 04 2e 6a 70 67 ./.......+r....r....z..svgz..jpg
04a0 7a 04 2e 69 63 6f 29 03 7a 07 73 76 67 2b 78 6d 6c 5a 04 6a 70 65 67 5a 04 69 63 6f 6e 29 02 da z..ico).z.svg+xmlZ.jpegZ.icon)..
04c0 05 73 70 6c 69 74 da 03 67 65 74 29 02 da 04 6d 69 6d 65 da 04 70 61 72 74 72 0f 00 00 00 72 0f .split..get)...mime..partr....r.
04e0 00 00 00 72 10 00 00 00 da 0b 6d 69 6d 65 5f 74 6f 5f 65 78 74 30 00 00 00 73 10 00 00 00 00 04 ...r......mime_to_ext0...s......
0500 1a 01 02 02 02 01 02 01 02 fc 06 05 04 fb 7a 18 45 78 74 72 61 63 74 49 6d 61 67 65 2e 6d 69 6d ..............z.ExtractImage.mim
0520 65 5f 74 6f 5f 65 78 74 63 02 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 08 00 00 00 43 00 00 e_to_extc....................C..
0540 00 73 52 01 00 00 7c 01 a0 00 64 01 a1 01 7d 02 7c 02 a0 01 64 02 a1 01 73 18 64 03 53 00 7c 00 .sR...|...d...}.|...d...s.d.S.|.
0560 a0 02 7c 00 6a 03 6a 04 a1 01 7d 03 74 05 6a 06 a0 07 7c 03 a1 01 73 3c 74 05 a0 08 7c 03 a1 01 ..|.j.j...}.t.j...|...s<t...|...
0580 01 00 7a 30 7c 02 64 04 64 03 85 02 19 00 7d 04 7c 04 a0 09 64 05 64 06 a1 02 5c 02 7d 05 7d 04 ..z0|.d.d.....}.|...d.d...\.}.}.
05a0 7c 04 a0 09 64 07 64 06 a1 02 5c 02 7d 06 7d 04 57 00 6e 1e 04 00 74 0a 79 8a 01 00 01 00 01 00 |...d.d...\.}.}.W.n...t.y.......
05c0 74 0b a0 0c 64 08 a1 01 01 00 59 00 64 03 53 00 30 00 7c 06 64 09 6b 03 72 a8 74 0b a0 0c 64 0a t...d.....Y.d.S.0.|.d.k.r.t...d.
05e0 a0 0d 7c 06 a1 01 a1 01 01 00 64 03 53 00 7c 00 a0 0e 7c 05 a1 01 7d 07 74 05 6a 06 a0 0f 7c 03 ..|.......d.S.|...|...}.t.j...|.
0600 7c 01 a0 00 64 0b a1 01 7c 07 17 00 a1 02 7d 08 74 05 6a 06 a0 10 7c 08 a1 01 72 ea 74 0b a0 0c |...d...|.....}.t.j...|...r.t...
0620 64 0c a0 0d 7c 08 a1 01 a1 01 01 00 64 03 53 00 7c 00 a0 11 64 0d a0 0d 7c 08 a1 01 a1 01 01 00 d...|.......d.S.|...d...|.......
0640 74 12 7c 08 64 0e 83 02 8f 24 7d 09 7c 09 a0 13 74 14 7c 04 a0 15 64 0f a1 01 83 01 a1 01 01 00 t.|.d....$}.|...t.|...d.........
0660 57 00 64 03 04 00 04 00 83 03 01 00 6e 12 31 00 90 01 73 30 30 00 01 00 01 00 01 00 59 00 01 00 W.d.........n.1...s00.......Y...
0680 7c 01 a0 16 64 01 74 05 6a 06 a0 17 7c 08 a1 01 a1 02 01 00 64 03 53 00 29 10 7a 28 45 78 74 72 |...d.t.j...|.......d.S.).z(Extr
06a0 61 63 74 20 74 68 65 20 6e 6f 64 65 20 61 73 20 69 66 20 69 74 20 77 65 72 65 20 61 6e 20 69 6d act.the.node.as.if.it.were.an.im
06c0 61 67 65 2e 7a 0a 78 6c 69 6e 6b 3a 68 72 65 66 7a 05 64 61 74 61 3a 4e e9 05 00 00 00 fa 01 3b age.z.xlink:hrefz.data:N.......;
06e0 72 1e 00 00 00 fa 01 2c 7a 1a 49 6e 76 61 6c 69 64 20 69 6d 61 67 65 20 66 6f 72 6d 61 74 20 66 r......,z.Invalid.image.format.f
0700 6f 75 6e 64 da 06 62 61 73 65 36 34 7a 19 43 61 6e 27 74 20 64 65 63 6f 64 65 20 65 6e 63 6f 64 ound..base64z.Can't.decode.encod
0720 69 6e 67 3a 20 7b 7d da 02 69 64 7a 2e 43 61 6e 27 74 20 65 78 74 72 61 63 74 20 69 6d 61 67 65 ing:.{}..idz.Can't.extract.image
0740 2c 20 66 69 6c 65 6e 61 6d 65 20 61 6c 72 65 61 64 79 20 75 73 65 64 3a 20 7b 7d 7a 16 49 6d 61 ,.filename.already.used:.{}z.Ima
0760 67 65 20 65 78 74 72 61 63 74 65 64 20 74 6f 3a 20 7b 7d da 02 77 62 7a 05 75 74 66 2d 38 29 18 ge.extracted.to:.{}..wbz.utf-8).
0780 72 21 00 00 00 da 0a 73 74 61 72 74 73 77 69 74 68 da 0d 61 62 73 6f 6c 75 74 65 5f 68 72 65 66 r!.....startswith..absolute_href
07a0 72 12 00 00 00 da 08 66 69 6c 65 70 61 74 68 da 02 6f 73 da 04 70 61 74 68 da 05 69 73 64 69 72 r......filepath..os..path..isdir
07c0 da 08 6d 61 6b 65 64 69 72 73 72 20 00 00 00 da 0a 56 61 6c 75 65 45 72 72 6f 72 72 0b 00 00 00 ..makedirsr......ValueErrorr....
07e0 da 08 65 72 72 6f 72 6d 73 67 da 06 66 6f 72 6d 61 74 72 24 00 00 00 da 04 6a 6f 69 6e da 06 69 ..errormsg..formatr$.....join..i
0800 73 66 69 6c 65 da 03 6d 73 67 da 04 6f 70 65 6e da 05 77 72 69 74 65 72 03 00 00 00 da 06 65 6e sfile..msg..open..writer......en
0820 63 6f 64 65 da 03 73 65 74 da 08 72 65 61 6c 70 61 74 68 29 0a 72 0d 00 00 00 da 04 6e 6f 64 65 code..set..realpath).r......node
0840 da 05 78 6c 69 6e 6b 5a 07 73 61 76 65 5f 74 6f da 04 64 61 74 61 5a 08 6d 69 6d 65 74 79 70 65 ..xlinkZ.save_to..dataZ.mimetype
0860 da 04 62 61 73 65 5a 08 66 69 6c 65 5f 65 78 74 5a 08 70 61 74 68 77 65 78 74 da 03 66 68 6c 72 ..baseZ.file_extZ.pathwext..fhlr
0880 0f 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 19 00 00 00 3c 00 00 00 73 32 00 00 00 00 02 0a 01 ....r....r....r....<...s2.......
08a0 0a 01 04 02 0e 02 0c 01 0a 02 02 01 0c 01 10 01 14 01 0c 01 0a 01 08 02 08 01 10 01 04 02 0a 02 ................................
08c0 18 01 0c 01 10 01 04 02 10 02 0c 01 34 03 7a 1a 45 78 74 72 61 63 74 49 6d 61 67 65 2e 65 78 74 ............4.z.ExtractImage.ext
08e0 72 61 63 74 5f 69 6d 61 67 65 4e 29 09 da 08 5f 5f 6e 61 6d 65 5f 5f da 0a 5f 5f 6d 6f 64 75 6c ract_imageN)...__name__..__modul
0900 65 5f 5f da 0c 5f 5f 71 75 61 6c 6e 61 6d 65 5f 5f da 07 5f 5f 64 6f 63 5f 5f 72 11 00 00 00 72 e__..__qualname__..__doc__r....r
0920 1c 00 00 00 da 0c 73 74 61 74 69 63 6d 65 74 68 6f 64 72 24 00 00 00 72 19 00 00 00 72 0f 00 00 ......staticmethodr$...r....r...
0940 00 72 0f 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 05 00 00 00 21 00 00 00 73 0c 00 00 00 08 01 .r....r....r....r....!...s......
0960 04 01 08 06 08 07 02 01 0a 0b 72 05 00 00 00 da 08 5f 5f 6d 61 69 6e 5f 5f 29 0c 72 45 00 00 00 ..........r......__main__).rE...
0980 72 2e 00 00 00 72 0b 00 00 00 72 02 00 00 00 72 28 00 00 00 72 03 00 00 00 da 0b 49 6d 70 6f 72 r....r....r....r(...r......Impor
09a0 74 45 72 72 6f 72 72 04 00 00 00 da 0f 45 66 66 65 63 74 45 78 74 65 6e 73 69 6f 6e 72 05 00 00 tErrorr......EffectExtensionr...
09c0 00 72 42 00 00 00 da 03 72 75 6e 72 0f 00 00 00 72 0f 00 00 00 72 0f 00 00 00 72 10 00 00 00 da .rB.....runr....r....r....r.....
09e0 08 3c 6d 6f 64 75 6c 65 3e 14 00 00 00 73 14 00 00 00 04 04 08 01 08 01 0c 02 02 01 10 01 0c 01 .<module>....s..................
0a00 12 02 12 41 08 01 ...A..