-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathLazZiya.ImageResize.xml
2829 lines (2807 loc) · 139 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="P:LazZiya.ImageResize.Animated.AnimatedImage.Delay">
<summary>
Get delay time (ms)
</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)">
<summary>
Save animated gif
</summary>
<param name="path"></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.AnimatedImageAnimatedTextWatermarkConditional">
<summary>
Add animated text watermark over animated image, depending on a condition parameter.
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermarkConditional.AddAnimatedTextWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String)">
<summary>
Add animated text watermark over animated image, depending on a conditon parameter.
</summary>
<param name="img"></param>
<param name="condition">true to add text watermark, false will return the img</param>
<param name="text"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermarkConditional.AddAnimatedTextWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over animated image, depending on a conditon parameter.
</summary>
<param name="img"></param>
<param name="condition">true to add text watermark, false will return the img</param>
<param name="text"></param>
<param name="animOps"></param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageAnimatedTextWatermarkConditional.AddAnimatedTextWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String,LazZiya.ImageResize.TextWatermarkOptions)">
<summary>
Add animated text watermark over animated image, depending on a conditon parameter.
</summary>
<param name="img"></param>
<param name="condition">true to add text watermark, false will return the 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.AnimatedImageAnimatedTextWatermarkConditional.AddAnimatedTextWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String,LazZiya.ImageResize.TextWatermarkOptions,LazZiya.ImageResize.Animated.AnimatedTextWatermarkOptions)">
<summary>
Add animated text watermark over animated image, depending on a conditon parameter.
</summary>
<param name="img"></param>
<param name="condition">true to add text watermark, false will return the 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.AnimatedImageImageWatermarkConditional">
<summary>
Add a static image watermark over animated image, depending on a condition parameter.
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermarkConditional.AddImageWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String)">
<summary>
Add a static image watermark over animated image, depending on a condition parameter.
</summary>
<param name="img">The original image</param>
<param name="condition">true to add image watermark, false will return the img</param>
<param name="wmImgPath">Path to the watermark image file e.g. wwwroot\images\watermark.png</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermarkConditional.AddImageWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Drawing.Image)">
<summary>
Add a static image watermark over animated image, depending on a condition parameter.
</summary>
<param name="img">The original image</param>
<param name="condition">true to add image watermark, false will return the img</param>
<param name="wmImage">Watermark image</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageImageWatermarkConditional.AddImageWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.String,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Add a static image watermark over animated image, depending on a condition parameter.
</summary>
<param name="img">The original image</param>
<param name="condition">true to add image watermark, false will return the img</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.AnimatedImageImageWatermarkConditional.AddImageWatermarkIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Drawing.Image,LazZiya.ImageResize.ImageWatermarkOptions)">
<summary>
Add a static image watermark over animated image, depending on a condition parameter.
<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="condition">true to add image watermark, false will return the img</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.ScaleByWidth(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.AnimatedImageResizeConditional">
<summary>
Conditionally resize animated images with reference to a condition token
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResizeConditional.ScaleIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the img</param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResizeConditional.ScaleIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.ScaleByWidthIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the img</param>
<param name="newWidth"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResizeConditional.ScaleByWidthIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.ScaleByHeightIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the img</param>
<param name="newHeight"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResizeConditional.ScaleByHeightIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,LazZiya.ImageResize.GraphicOptions)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.ScaleAndCropIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the img</param>
<param name="newWidth"></param>
<param name="newHeight"></param>
<param name="spot"></param>
<returns></returns>
</member>
<member name="M:LazZiya.ImageResize.Animated.AnimatedImageResizeConditional.ScaleAndCropIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.CropIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32,LazZiya.ImageResize.TargetSpot)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.CropIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Int32,System.Int32,LazZiya.ImageResize.GraphicOptions,LazZiya.ImageResize.TargetSpot)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
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="condition">true to resize, false will return the 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.AnimatedImageResizeConditional.ResizeIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Drawing.Rectangle,System.Drawing.Rectangle)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="condition">true to resize, false will return the img</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.AnimatedImageResizeConditional.ResizeIf(LazZiya.ImageResize.Animated.AnimatedImage,System.Boolean,System.Drawing.Rectangle,System.Drawing.Rectangle,LazZiya.ImageResize.GraphicOptions)">
<summary>
Do conditional resize if the the condition is true, otherwise return without resizing.
Specify custom resize options
</summary>
<param name="img">the image to resize</param>
<param name="condition">true to resize, false will return the img</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.Gif.AnimatedGifEncoder">
<summary>
AnimatedGiEncoder
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.width">
<summary>
Width
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.height">
<summary>
Height
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.transparent">
<summary>
transparent color if given
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.transIndex">
<summary>
transparent index in color table
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.repeat">
<summary>
-1 no repeat,
0 always repeat
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.delay">
<summary>
frame delay (hundredths)
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.started">
<summary>
ready to output frames
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.fs">
<summary>
FS
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.image">
<summary>
current frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.pixels">
<summary>
BGR byte array from frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.indexedPixels">
<summary>
converted frame indexed to palette
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.colorDepth">
<summary>
number of bit planes
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.colorTab">
<summary>
RGB palette
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.usedEntry">
<summary>
active palette entries
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.palSize">
<summary>
color table size (bits-1)
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.dispose">
<summary>
disposal code (-1 = use default)
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.closeStream">
<summary>
close stream when finished
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.firstFrame">
<summary>
first frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.sizeSet">
<summary>
if false, get size from first frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.sample">
<summary>
default sample interval for quantizer
</summary>
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetDelay(System.Int32)">
<summary>
Sets the delay time between each frame, or changes it
for subsequent frames (applies to last frame added).
</summary>
<param name="ms">ms int delay time in milliseconds</param>
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetDispose(System.Int32)">
Sets the GIF frame disposal code for the last added frame
and any subsequent frames. Default is 0 if no transparent
color has been set, otherwise 2.
@param code int disposal code.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetRepeat(System.Int32)">
Sets the number of times the set of GIF frames
should be played. Default is 1; 0 means play
indefinitely. Must be invoked before the first
image is added.
@param iter int number of iterations.
@return
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetTransparent(System.Drawing.Color)">
Sets the transparent color for the last added frame
and any subsequent frames.
Since all colors are subject to modification
in the quantization process, the color in the final
palette for each frame closest to the given color
becomes the transparent color for that frame.
May be set to null to indicate no transparent color.
@param c Color to be treated as transparent on display.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.AddFrame(System.Drawing.Image)">
Adds next GIF frame. The frame is not written immediately, but is
actually deferred until the next frame is received so that timing
data can be inserted. Invoking <code>finish()</code> flushes all
frames. If <code>setSize</code> was not invoked, the size of the
first image is used for all subsequent frames.
@param im BufferedImage containing frame to write.
@return true if successful.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.Finish">
Flushes any pending data and closes output file.
If writing to an OutputStream, the stream is not
closed.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetFrameRate(System.Single)">
Sets frame rate in frames per second. Equivalent to
<code>setDelay(1000/fps)</code>.
@param fps float frame rate (frames per second)
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetQuality(System.Int32)">
Sets quality of color quantization (conversion of images
to the maximum 256 colors allowed by the GIF specification).
Lower values (minimum = 1) produce better colors, but slow
processing significantly. 10 is the default, and produces
good color mapping at reasonable speeds. Values greater
than 20 do not yield significant improvements in speed.
@param quality int greater than 0.
@return
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.SetSize(System.Int32,System.Int32)">
Sets the GIF frame size. The default size is the
size of the first frame added if this method is
not invoked.
@param w int frame width.
@param h int frame width.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.Start(System.IO.FileStream)">
Initiates GIF file creation on the given stream. The stream
is not closed automatically.
@param os OutputStream on which GIF images are written.
@return false if initial write failed.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.Start(System.String)">
Initiates writing of a GIF file with the specified name.
@param file String containing output file name.
@return false if open or initial write failed.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.AnalyzePixels">
Analyzes image colors and creates color map.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.FindClosest(System.Drawing.Color)">
Returns index of palette color closest to c
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.GetImagePixels">
Extracts image pixels into byte array "pixels"
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteGraphicCtrlExt">
Writes Graphic Control Extension
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteImageDesc">
Writes Image Descriptor
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteLSD">
Writes Logical Screen Descriptor
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteNetscapeExt">
Writes Netscape application extension to define
repeat count.
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WritePalette">
Writes color table
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WritePixels">
Encodes and writes pixel data
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteShort(System.Int32)">
Write 16-bit value to output stream, LSB first
</member>
<member name="M:LazZiya.ImageResize.Animated.Gif.AnimatedGifEncoder.WriteString(System.String)">
Writes string to output stream
</member>
<member name="T:LazZiya.ImageResize.Animated.Gif.GifDecoder">
<summary>
Gif Decoder
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.STATUS_OK">
File read status: No errors.
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.STATUS_FORMAT_ERROR">
File read status: Error decoding file (may be partially decoded)
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.STATUS_OPEN_ERROR">
File read status: Unable to open source.
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.inStream">
<summary>
Stream
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.status">
<summary>
Status
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.width">
<summary>
full image width
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.height">
<summary>
full image height
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.gctFlag">
<summary>
global color table used
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.gctSize">
<summary>
size of global color table
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.loopCount">
<summary>
iterations; 0 = repeat forever
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.gct">
<summary>
global color table
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lct">
<summary>
local color table
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.act">
<summary>
active color table
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.bgIndex">
<summary>
background color index
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.bgColor">
<summary>
background color
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lastBgColor">
<summary>
previous bg color
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.pixelAspect">
<summary>
pixel aspect ratio
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lctFlag">
<summary>
local color table flag
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.interlace">
<summary>
interlace flag
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lctSize">
<summary>
local color table size
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.ix">
<summary>
current image rectangle
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.iy">
<summary>
current image rectangle
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.iw">
<summary>
current image rectangle
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.ih">
<summary>
current image rectangle
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lastRect">
<summary>
last image rect
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.image">
<summary>
current frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.bitmap">
<summary>
bitmap
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lastImage">
<summary>
previous frame
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.block">
<summary>
current data block
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.blockSize">
<summary>
block size
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.dispose">
<summary>
last graphic control extension info
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.lastDispose">
<summary>
0=no action; 1=leave in place; 2=restore to bg; 3=restore to prev
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.transparency">
<summary>
use transparent color
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.delay">
<summary>
delay in milliseconds
</summary>
</member>
<member name="F:LazZiya.ImageResize.Animated.Gif.GifDecoder.transIndex">
<summary>
transparent color index
</summary>
</member>