-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathLazZiya.ImageResize.xml
1240 lines (1240 loc) · 59.9 KB
/
LazZiya.ImageResize.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>LazZiya.ImageResize</name>
</assembly>
<members>
<member name="T:LazZiya.ImageResize.Animated.AnimatedImage">
<summary>
Represents an animated image image with multiple frames
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.Frames">
<summary>
Gif image as list of frames
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.RepeatCount">
<summary>
Set repeat count. (-1) no repeat. (0) always repeat
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.FramesCount">
<summary>
Get frames count in an animated gif
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.Size">
<summary>
Get width and height of the image
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.ImageColorFormat">
<summary>
Get image color format
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.PixelFormat">
<summary>
Get pixel format
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.HorizontalResolution">
<summary>
Get horizontal resolution
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.VerticalResolution">
<summary>
Get vertival resolution
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedImage.RawFormat">
<summary>
Get image raw format
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.#ctor(System.Drawing.Image)">
<summary>
private constructor
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.#ctor(System.Collections.Generic.IList{System.Drawing.Image})">
<summary>
Make sure to initialize values
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.FromFile(System.String)">
<summary>
Create animated image from file
</summary>
<param name="fileName"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.FromStream(System.IO.Stream)">
<summary>
Create animated image from stream
</summary>
<param name="stream"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.FromImage(System.Drawing.Image)">
<summary>
Create animated image from image
</summary>
<param name="image"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.FromHBitmap(System.IntPtr)">
<summary>
Create animated image from bitmap
</summary>
<param name="hbitmap"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.FromHBitmap(System.IntPtr,System.IntPtr)">
<summary>
Create animated image from bitmap
</summary>
<param name="hbitmap"></param>
<param name="hpalatte"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.SaveAs(System.String,System.Int32)">
<summary>
Save animated gif
</summary>
<param name="path"></param>
<param name="delay">Frame delay in milliseconds</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.Dispose">
<summary>
Clear frames
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImage.Finalize">
<summary>
deconstruct
</summary>
</member>
<member name="T:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermark">
<summary>
Add animated text watermark over animated image.
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermark.AddAnimatedTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String)">
<summary>
Add animated text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermark.AddAnimatedTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text"></param>
<param name="animOps"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermark.AddAnimatedTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String,LazZiya.ImageResize.TextWatermarkOptions)">
<summary>
Add animated text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text">text to draw over the image</param>
<param name="ops">Text watermark options <see cref="T:LazZiya.ImageResize.TextWatermarkOptions"/></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermark.AddAnimatedTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String,LazZiya.ImageResize.TextWatermarkOptions,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text">text to draw over the image</param>
<param name="ops">Text watermark options <see cref="T:LazZiya.ImageResize.TextWatermarkOptions"/></param>
<param name="animOps">Animated text options <see cref="T:LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions"/></param>
</member>
<member name="T:LazZiya.ImageResize.Animated.AnimatedImageImageWatermark">
<summary>
Add a static image watermark over animated image.
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermark.AddImageWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String)">
<summary>
Add a static image watermark over animated image.
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermark.AddImageWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.Drawing.Image)">
<summary>
Add a static image watermark over animated image.
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermark image</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermark.AddImageWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Add a static image watermark over animated image.
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermark.AddImageWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.Drawing.Image,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Add a static image watermark over animated image.
<para>Notice regarding watermark opacity:</para>
<para>If watermark image needs to be resized, first resize the watermark image,
then save it to the disc, and read it again with Image.FromFile.</para>
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermak image</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
</member>
<member name="T:LazZiya.ImageResize.Animated.AnimatedImageResize">
<summary>
Resize images
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Scale(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32)">
<summary>
Auto scale image by width or height till longest border (width/height) is equal to new width/height.
Final image aspect ratio is equal to original image aspect ratio.
If the aspect ratio of new w/h != aspect ratio of original image then
one border will be in different size than the given value in order to keep original aspect ratio
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Scale(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Auto scale image by width or height till longest border (width/height) is equal to new width/height.
Final image aspect ratio is equal to original image aspect ratio.
If the aspect ratio of new w/h != aspect ratio of original image then
one border will be in different size than the given value in order to keep original aspect ratio
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.ScaleByWidth(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32)">
<summary>
Scale image by width and keep same aspect ratio of target image same as the original image.
Height will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.GifScaleByWidth(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Scale image by width and keep same aspect ratio of target image same as the original image.
Height will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.ScaleByHeight(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32)">
<summary>
Scale image by height and keep same aspect ratio of target image same as the original image.
Width will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.ScaleByHeight(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Scale image by height and keep same aspect ratio of target image same as the original image.
Width will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newHeight"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.ScaleAndCrop(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Scale target image till shortest border are equal to target value,
then crop the additonal pixels from the longest border.
Final image aspect ratio is equal to the given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.ScaleAndCrop(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Scale target image till shortest border are equal to target value,
then crop the additonal pixels from the longest border.
Final image aspect ratio is equal to the given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Crop(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Directly crop original image without scaling it.
Final image aspect ratio is equal to given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot">target spot to crop and save</param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Crop(LazZiya.ImageResize.Animated.AnimatedImage,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Directly crop original image without scaling it.
Final image aspect ratio is equal to given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot">target spot to crop and save</param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Resize(LazZiya.ImageResize.Animated.AnimatedImage,System.Drawing.Rectangle,System.Drawing.Rectangle)">
<summary>
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="source">The coordinates to read as source from the image,
can be the whole image or part of it</param>
<param name="target">The coordinates of the target image size</param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResize.Resize(LazZiya.ImageResize.Animated.AnimatedImage,System.Drawing.Rectangle,System.Drawing.Rectangle,LazZiya.ImageResize.GraphicOptions)">
<summary>
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="source">The coordinates to read as source from the image,
can be the whole image or part of it</param>
<param name="target">The coordinates of the target image size</param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="T:LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions">
<summary>
Define options for animated text
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions.TextAnimation">
<summary>
Pre-defined text animations
</summary>
</member>
<member name="T:LazZiya.ImageResize.Animated.TextAnimation">
<summary>
Pre defined text animations
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.TextAnimation.Typing">
<summary>
increment char-by-char
</summary>
</member>
<member name="T:LazZiya.ImageResize.Animated.GifEncoder">
<summary>
Encodes multiple images as an animated gif to a stream. <br />
ALWAYS ALWAYS ALWAYS wire this up in a using block <br />
Disposing the encoder will complete the file. <br />
Uses default .net GIF encoding and adds animation headers.
</summary>
</member>
<member name="P:LazZiya.ImageResize.Animated.GifEncoder.FrameDelay">
Public Accessors
</member>
<member name="M:LazZiya.ImageResize.Animated.GifEncoder.#ctor(System.IO.Stream,System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Int32})">
<summary>
Encodes multiple images as an animated gif to a stream. <br />
ALWAYS ALWAYS ALWAYS wire this in a using block <br />
Disposing the encoder will complete the file. <br />
Uses default .net GIF encoding and adds animation headers.
</summary>
<param name="stream">The stream that will be written to.</param>
<param name="width">Sets the width for this gif or null to use the first frame's width.</param>
<param name="height">Sets the height for this gif or null to use the first frame's height.</param>
<param name="repeatCount"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.GifEncoder.AddFrame(System.Drawing.Image,System.Int32,System.Int32,System.Nullable{System.TimeSpan})">
<summary>
Adds a frame to this animation.
</summary>
<param name="img">The image to add</param>
<param name="x">The positioning x offset this image should be displayed at.</param>
<param name="y">The positioning y offset this image should be displayed at.</param>
<param name="frameDelay"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.GifEncoder.Dispose">
<summary>
Save and dispose
</summary>
</member>
<member name="T:LazZiya.ImageResize.Animated.ImageAnimatedImageWatermark">
<summary>
Add an animated image watermark to static image
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedImageWatermark.AddAnimatedImageWatermark(System.Drawing.Image,System.String)">
<summary>
Draw animated image watermark over a static image
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedImageWatermark.AddAnimatedImageWatermark(System.Drawing.Image,LazZiya.ImageResize.Animated.AnimatedImage)">
<summary>
Draw animated image watermark over a static image
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermark image</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedImageWatermark.AddAnimatedImageWatermark(System.Drawing.Image,System.String,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Draw animated image watermark over a static image
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedImageWatermark.AddAnimatedImageWatermark(System.Drawing.Image,LazZiya.ImageResize.Animated.AnimatedImage,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Draw animated image watermark over a static image
<para>Notice regarding watermark opacity:</para>
<para>If watermark image needs to be resized, first resize the watermark image,
then save it to the disc, and read it again with Image.FromFile.</para>
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermak image</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
</member>
<member name="T:LazZiya.ImageResize.Animated.ImageAnimatedTextWatermark">
<summary>
Add animated text watermark over image
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedTextWatermark.AddAnimatedTextWatermark(System.Drawing.Image,System.String)">
<summary>
Add animated text watermark over a static image.
</summary>
<param name="img"></param>
<param name="text"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedTextWatermark.AddAnimatedTextWatermark(System.Drawing.Image,System.String,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over a static image.
</summary>
<param name="img"></param>
<param name="text"></param>
<param name="animOps"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedTextWatermark.AddAnimatedTextWatermark(System.Drawing.Image,System.String,LazZiya.ImageResize.TextWatermarkOptions)">
<summary>
Add animated text watermark over a static image.
</summary>
<param name="img"></param>
<param name="text">text to draw over the image</param>
<param name="ops">Text watermark options <see cref="T:LazZiya.ImageResize.TextWatermarkOptions"/></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.ImageAnimatedTextWatermark.AddAnimatedTextWatermark(System.Drawing.Image,System.String,LazZiya.ImageResize.TextWatermarkOptions,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over a static image.
</summary>
<param name="img"></param>
<param name="text">text to draw over the image</param>
<param name="ops">Text watermark options <see cref="T:LazZiya.ImageResize.TextWatermarkOptions"/></param>
<param name="animOps">Animated text options <see cref="T:LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions"/></param>
</member>
<member name="T:LazZiya.ImageResize.AnimatedImageTextWatermark">
<summary>
Add a static text watermark over animated image.
</summary>
</member>
<member name="M:LazZiya.ImageResize.AnimatedImageTextWatermark.AddTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String)">
<summary>
Add a static text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text"></param>
</member>
<member name="M:LazZiya.ImageResize.AnimatedImageTextWatermark.AddTextWatermark(LazZiya.ImageResize.Animated.AnimatedImage,System.String,LazZiya.ImageResize.TextWatermarkOptions)">
<summary>
Add a static text watermark over animated image.
</summary>
<param name="img"></param>
<param name="text">text to draw over the image</param>
<param name="ops">Text watermark options <see cref="T:LazZiya.ImageResize.TextWatermarkOptions"/></param>
</member>
<member name="T:LazZiya.ImageResize.ColorFormats.ImageColorFormat">
<summary>
Image color formats
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImageColorFormat.Rgb">
<summary>
RGB
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImageColorFormat.Cmyk">
<summary>
CMYK
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImageColorFormat.Indexed">
<summary>
Indexed
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImageColorFormat.Grayscale">
<summary>
Grayscale
</summary>
</member>
<member name="T:LazZiya.ImageResize.ColorFormats.ImagePixelFormat">
<summary>
Image pixel formats
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImagePixelFormat.PixelFormatIndexed">
<summary>
Indexed
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImagePixelFormat.PixelFormat32bppCMYK">
<summary>
32bit CMYK
</summary>
</member>
<member name="F:LazZiya.ImageResize.ColorFormats.ImagePixelFormat.PixelFormat16bppGrayScale">
<summary>
16bit Gtrayscale
</summary>
</member>
<member name="T:LazZiya.ImageResize.Exceptions.FailureReasonType">
<summary>
Failure reasone type
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.None">
<summary>
not listed
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.EncoderNotFound">
<summary>
Relevant encoder info not found
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.ExtensionNotSupported">
<summary>
File extension is not supported
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.UnknownImageFormatGuid">
<summary>
Image file format GUID is unknown
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.ZeroSizeNotAllowed">
<summary>
Zero size error
</summary>
</member>
<member name="F:LazZiya.ImageResize.Exceptions.FailureReasonType.GraphicsException">
<summary>
GDI+ related exceptin
</summary>
</member>
<member name="T:LazZiya.ImageResize.Exceptions.ImageResizeException">
<summary>
Raise an image resize exeption
</summary>
</member>
<member name="M:LazZiya.ImageResize.Exceptions.ImageResizeException.#ctor">
<summary>
Raise an image resize exeption
</summary>
</member>
<member name="M:LazZiya.ImageResize.Exceptions.ImageResizeException.#ctor(System.String)">
<summary>
Raise an image resize exeption
</summary>
</member>
<member name="M:LazZiya.ImageResize.Exceptions.ImageResizeException.#ctor(System.String,System.Exception)">
<summary>
Raise an image resize exeption
</summary>
</member>
<member name="P:LazZiya.ImageResize.Exceptions.ImageResizeException.Result">
<summary>
Image resize result
</summary>
</member>
<member name="M:LazZiya.ImageResize.Exceptions.ImageResizeException.#ctor(LazZiya.ImageResize.Exceptions.ImageResizeResult)">
<summary>
Raise an image resize exeption
</summary>
</member>
<member name="T:LazZiya.ImageResize.Exceptions.ImageResizeResult">
<summary>
Image resize result object
</summary>
</member>
<member name="P:LazZiya.ImageResize.Exceptions.ImageResizeResult.Success">
<summary>
Resize result status, true for success, false for failure
</summary>
</member>
<member name="P:LazZiya.ImageResize.Exceptions.ImageResizeResult.Value">
<summary>
String message value
</summary>
</member>
<member name="P:LazZiya.ImageResize.Exceptions.ImageResizeResult.Reason">
<summary>
Specify failure reason
</summary>
</member>
<member name="T:LazZiya.ImageResize.GraphicOptions">
<summary>
Define graphic options
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.CompositingQuality">
<summary>
Composition quality.
Default: CompositingQuality.HighQuality
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.SmoothingMode">
<summary>
Smoothing mode.
Default: SmoothingMode.HighQuality
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.InterpolationMode">
<summary>
Interpolation mode.
Default: InterpolationMode.HighQualityBicubic
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.PixelOffsetMode">
<summary>
Pixel offset mode.
Default: PixelOffsetMode.HighQuality
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.CompositingMode">
<summary>
Composition mode.
Default: CompositingMode.SourceOver
</summary>
</member>
<member name="P:LazZiya.ImageResize.GraphicOptions.PageUnit">
<summary>
Page unit.
Default: GraphicsUnit.Pixel
</summary>
</member>
<member name="T:LazZiya.ImageResize.ImageResize">
<summary>
Resize images
</summary>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Scale(System.Drawing.Image,System.Int32,System.Int32)">
<summary>
Auto scale image by width or height till longest border (width/height) is equal to new width/height.
Final image aspect ratio is equal to original image aspect ratio.
If the aspect ratio of new w/h != aspect ratio of original image then
one border will be in different size than the given value in order to keep original aspect ratio
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Scale(System.Drawing.Image,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Auto scale image by width or height till longest border (width/height) is equal to new width/height.
Final image aspect ratio is equal to original image aspect ratio.
If the aspect ratio of new w/h != aspect ratio of original image then
one border will be in different size than the given value in order to keep original aspect ratio
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleByWidth(System.Drawing.Image,System.Int32)">
<summary>
Scale image by width and keep same aspect ratio of target image same as the original image.
Height will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleByWidth(System.Drawing.Image,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Scale image by width and keep same aspect ratio of target image same as the original image.
Height will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleByHeight(System.Drawing.Image,System.Int32)">
<summary>
Scale image by height and keep same aspect ratio of target image same as the original image.
Width will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleByHeight(System.Drawing.Image,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Scale image by height and keep same aspect ratio of target image same as the original image.
Width will be adjusted automatically
</summary>
<param name="img"></param>
<param name="newHeight"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleAndCrop(System.Drawing.Image,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Scale target image till shortest border are equal to target value,
then crop the additonal pixels from the longest border.
Final image aspect ratio is equal to the given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.ScaleAndCrop(System.Drawing.Image,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Scale target image till shortest border are equal to target value,
then crop the additonal pixels from the longest border.
Final image aspect ratio is equal to the given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot"></param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Crop(System.Drawing.Image,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Directly crop original image without scaling it.
Final image aspect ratio is equal to given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot">target spot to crop and save</param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Crop(System.Drawing.Image,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Directly crop original image without scaling it.
Final image aspect ratio is equal to given new width/height
</summary>
<param name="img"></param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot">target spot to crop and save</param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Resize(System.Drawing.Image,System.Drawing.Rectangle,System.Drawing.Rectangle)">
<summary>
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="source">The coordinates to read as source from the image,
can be the whole image or part of it</param>
<param name="target">The coordinates of the target image size</param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.ImageResize.Resize(System.Drawing.Image,System.Drawing.Rectangle,System.Drawing.Rectangle,LazZiya.ImageResize.GraphicOptions)">
<summary>
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="source">The coordinates to read as source from the image,
can be the whole image or part of it</param>
<param name="target">The coordinates of the target image size</param>
<param name="ops">Graphic options <see cref="T:LazZiya.ImageResize.GraphicOptions"/></param>
<returns></returns>
</member>
<member name="T:LazZiya.ImageResize.ImageWatermark">
<summary>
Draw image watermark
</summary>
</member>
<member name="M:LazZiya.ImageResize.ImageWatermark.AddImageWatermark(System.Drawing.Image,System.String)">
<summary>
Draw image watermark
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
</member>
<member name="M:LazZiya.ImageResize.ImageWatermark.AddImageWatermark(System.Drawing.Image,System.Drawing.Image)">
<summary>
Draw image watermark
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermark image</param>
</member>
<member name="M:LazZiya.ImageResize.ImageWatermark.AddImageWatermark(System.Drawing.Image,System.String,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Draw image watermark
</summary>
<param name="img">The original image</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
</member>
<member name="M:LazZiya.ImageResize.ImageWatermark.AddImageWatermark(System.Drawing.Image,System.Drawing.Image,LazZiya.ImageResize.ImageWatermarkOptions,System.Boolean)">
<summary>
Draw image watermark.
<para>Notice regarding watermark opacity:</para>
<para>If watermark image needs to be resized, first resize the watermark image,
then save it to the disc, and read it again with Image.FromFile.</para>
</summary>
<param name="img">The original image</param>
<param name="wmImage">Watermak image</param>
<param name="ops">Image watermark options <see cref="T:LazZiya.ImageResize.ImageWatermarkOptions"/></param>
<param name="disposeWaterMark">Optional: dispose watermar image after finishing. Default: true</param>
</member>
<member name="T:LazZiya.ImageResize.ImageWatermarkOptions">
<summary>
Define options for adding image watermark over the image, like margin, opacity, and location.
</summary>
</member>
<member name="P:LazZiya.ImageResize.ImageWatermarkOptions.Margin">
<summary>
Margin in pixels. Depends on watermark location. default value 10
</summary>
</member>
<member name="P:LazZiya.ImageResize.ImageWatermarkOptions.Location">
<summary>
The location to draw the image watermark. Choose from pre-defined 9 main locations (3 cols, 3 rows).
Default value TargetSpot.TopRight.
See <see cref="T:LazZiya.ImageResize.TargetSpot"/>
</summary>
</member>
<member name="P:LazZiya.ImageResize.ImageWatermarkOptions.Opacity">
<summary>
Set opacity value of the image watermark (0 - 100).
Default value 100 full color.
</summary>
</member>
<member name="T:LazZiya.ImageResize.ResizeMethods.Crop">
<summary>
Defines the image resize / crop method
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.SourceRect">
<summary>
The rectangle info to read from the source image, the whole image size by default
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.TargetRect">
<summary>
The target image size
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.SourceOrigin">
<summary>
The origin point to start reading from the source image
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.TargetOrigin">
<summary>
The origin point to start writing the target image
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.SourceSize">
<summary>
Source image size
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Crop.TargetSize">
<summary>
Target image size
</summary>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.Crop.#ctor(System.Drawing.Size,System.Drawing.Size,LazZiya.ImageResize.TargetSpot)">
<summary>
Crop an image according to the specified values
</summary>
<param name="imgSize">The source image size</param>
<param name="targetSize">The target image size</param>
<param name="targetSpot">The pre-defined spot of the source image to read and crop.
<see cref="T:LazZiya.ImageResize.TargetSpot"/></param>
</member>
<member name="T:LazZiya.ImageResize.ResizeMethods.IResizeMethod">
<summary>
Common properties for image resize methods
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.IResizeMethod.SourceRect">
<summary>
The source image size and position
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.IResizeMethod.TargetRect">
<summary>
The target image size and position
</summary>
</member>
<member name="T:LazZiya.ImageResize.ResizeMethods.Scale">
<summary>
scale image size down till both width and height are in the target image size
keep target image aspect ratio = original image aspect ratio
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Scale.SourceRect">
<summary>
The source reading rectangle from the source image
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.Scale.TargetRect">
<summary>
the target image size and position
</summary>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.Scale.#ctor(System.Drawing.Size,System.Drawing.Size)">
<summary>
Scale an image as per given size and keep aspect ratio.
The final result of the scale may have different width or hight
</summary>
<param name="imgSize"></param>
<param name="targetSize"></param>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.Scale.ScaleByWidth(System.Drawing.Size,System.Single)">
<summary>
Get the height of the scaled image according to its given width
</summary>
<param name="size">The source image size</param>
<param name="width">The desired image width</param>
<returns>Size result of the scaling calculation</returns>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.Scale.ScaleByHeight(System.Drawing.Size,System.Single)">
<summary>
Get the width of the scaled image according to its given height
</summary>
<param name="size">The source image size</param>
<param name="height">The desired image height</param>
<returns>Size result of the scaling calculation</returns>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.Scale.AutoScale(System.Drawing.Size,System.Drawing.Size)">
<summary>
Get new sizes of the image to resize,
The scale calculation will fit the new size till both width and height are contianed,
So the final image is not cropped and completely fits in the new size.
</summary>
<param name="imgSize"></param>
<param name="targetSize"></param>
<returns></returns>
</member>
<member name="T:LazZiya.ImageResize.ResizeMethods.ScaleAndCrop">
<summary>
scale down image size till one of width or height are equal to target image size
extra pixels will be cropped out
target image aspect ratio is equal to defined new size aspect ratio
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.ScaleAndCrop.SourceRect">
<summary>
The source reading rectangle from the source image
</summary>
</member>
<member name="P:LazZiya.ImageResize.ResizeMethods.ScaleAndCrop.TargetRect">
<summary>
the target image size and position
</summary>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.ScaleAndCrop.#ctor(System.Drawing.Size,System.Drawing.Size,LazZiya.ImageResize.TargetSpot)">
<summary>
Scale and crop the image,
If the final width or heghit is out of the target area it will be cropped out.
</summary>
<param name="imgSize">Source image size</param>
<param name="targetSize">Target image size</param>
<param name="targetSpot">The target spot to read from the source image. See <see cref="T:LazZiya.ImageResize.TargetSpot"/></param>
</member>
<member name="M:LazZiya.ImageResize.ResizeMethods.ScaleAndCrop.GetSourceSize(System.Drawing.Size,System.Drawing.Size)">
<summary>
define the max rect size and pos to read from source image
</summary>
</member>
<member name="T:LazZiya.ImageResize.ResizeMethods.SourceOrigin">
<summary>
calculate the source origin point from image
</summary>
</member>
<member name="T:LazZiya.ImageResize.SaveImage">
<summary>