Jul 30, 2014 Replies: 9 Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/ Attachments Crop Sample.zip Crop Sample.zip 496.3 KB · Views: 2,660 10511109_807459332617618_2723995257439844685_n.jpg 41.9 KB · Views: 1,555 10514572_807459602617591_7148849783199956125_n.jpg 47.5 KB · Views: 2,049 10527643_807459462617605_5852512570621737594_n.jpg 57.2 KB · Views: 1,466 Last edited: Jul 30, 2014 Click to expand...
Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/
Douglas Farias Expert Licensed User Longtime User Jul 30, 2014 #2 Here is the 2° example 2 Crops Background + Photo Attachments Crop Sample.zip Crop Sample.zip 270.3 KB · Views: 1,714 Last edited: Oct 6, 2014
F FrankBerra Active Member Licensed User Longtime User Feb 8, 2015 #4 I tested the examples you posted but it gives me some errors related to this instructions: Code: Copy TouchImageView1.TranslatePaddingX = 50%x TouchImageView1.TranslatePaddingY = 60%Y TouchImageView1.TransformedBitmap Am I missing something?
I tested the examples you posted but it gives me some errors related to this instructions: Code: Copy TouchImageView1.TranslatePaddingX = 50%x TouchImageView1.TranslatePaddingY = 60%Y TouchImageView1.TransformedBitmap Am I missing something?
TheMightySwe Active Member Licensed User Longtime User Feb 24, 2015 #5 It should be 60%y, and not 60%Y i think.
F FrankBerra Active Member Licensed User Longtime User Apr 4, 2015 #6 no...i just found the problem: i was using TouchImageView version v.2.00 instead of v. 2.11 Now everything works but now i am facing to a new problem: The cropped and saved image is based on the resolution of my screen's device. How can i crop the original image maintaining the original quality? (No i am not talking about JPEG compression)
no...i just found the problem: i was using TouchImageView version v.2.00 instead of v. 2.11 Now everything works but now i am facing to a new problem: The cropped and saved image is based on the resolution of my screen's device. How can i crop the original image maintaining the original quality? (No i am not talking about JPEG compression)
cxdzbl Active Member Licensed User Jan 12, 2016 #7 Douglas Farias said: Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/ Click to expand... Set is one to one,But can not get the proportion :A friend from China
Douglas Farias said: Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/ Click to expand... Set is one to one,But can not get the proportion :A friend from China
cxdzbl Active Member Licensed User Jan 12, 2016 #8 Set is one to one,But can not get the proportion :A friend from China Douglas Farias said: Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/ Click to expand... Set is one to one,But can not get the proportion is(720*1230) :A friend from China Attachments Screenshot_2016-01-12-13-10-36.png 476.6 KB · Views: 933 cxdzbl.PNG 365.4 KB · Views: 861
Set is one to one,But can not get the proportion :A friend from China Douglas Farias said: Hi all i made a simple crop example, later many try and try its here if this help someone Im using the @warwound lib TouchImageView many thx to @warwound this sample have one panel on the center = crop you can use any image to center crop panel, doted image what u want and user can move the image. -Image Move -Zoom Touch -Limitation at x and y -Image save png TouchImageView Lib http://www.b4x.com/android/forum/attachments/touchimageview-posttranslate-zip.22918/ Click to expand... Set is one to one,But can not get the proportion is(720*1230) :A friend from China
Douglas Farias Expert Licensed User Longtime User Jan 12, 2016 #9 You can try https://www.b4x.com/android/forum/threads/library-resize-image-1-1.52104/
roberto64 Active Member Licensed User Longtime User Dec 17, 2016 #10 hi, and you can use the camera instead of a picture? thank you