B4i Library iCropView - The Best option for Crop Images (Square, Circular, Retangular)

Alberto Iglesias

Well-Known Member
Licensed User
iCropView - The Best option for Crop Images (Square, Circular, Retangular)
Installation instructions:​
- Copy the *.a and *.h files into the folder "Libs" in your MAC or in your MAC HOSTED by AnywhereSoftware, normally in "B4i-MacServer\Libs" folder​
-Copy the iCropView.xml to your custom libraries folder in B4i​
- Select in your REFERENCED LIBRARIES​
iCropView
Author: Alberto Iglesias (alberto@visualnet.inf.br)​
Version: 1.02​
  • iCropView
    Events:
    • onInitialized (EventName As String)
    • onDone (ImageCropped As Bitmap)
    • onCancel ( )
  • Methods:
    • Initialize: (EventName As String)
      Initializes the object.
    • Start: (Parent As Page, pImage As Bitmap)
      Start Cropping
  • Properties:
    • DebugMode As Boolean
      Enable/Disable Debug mode from Library
    • Author As String [read only]
      Author of this Library
    • LicenseEmail As String
      License Email
    • LicenseKey As String
      License Key
    • Version As String [read only]
      Library Version
    • Title As String
      Title of Cropping
    • ButtonDone As String
      Title of Done Button
    • ButtonCancel As String
      Title of Done Cancel
    • IsCircular As Boolean
      Cropp with Circular Shape
    • IsSquare As Boolean
      Crop with Square Shape
    • HideAspectButton As Boolean
      Hide Aspect Ratio Button
    • LockAspectRatio As Boolean
      Lock Aspect Ratio
    • RatioH As int
      Aspect Ratio Horizontal
    • RatioV As int
      Aspect Ratio Vertical
    • ToolbarOnTop As Boolean
      Toolbar on Top
Download Library​
You can get your license key in our library store:
 

Attachments

Last edited:

ykucuk

Well-Known Member
Licensed User
hello. i didn't get email. could you send my license code here in private message
 

ilan

Expert
Licensed User
hi alberto,

i have just tried your library and i am amazed. you did a wonderful job.
so i want to use it in my apps without getting the warning so making the donation of 10$ will remove the warnings?
can i use it in paid apps?

thanks, ilan
 

Alberto Iglesias

Well-Known Member
Licensed User
Yes, sure, as soon you make the donation, I will send to you without that warning and yes you are free to use in any app you want

 

ilan

Expert
Licensed User
donation done!

icvpay.png

so how does the license checking works? does it check on each app start? does it need an internet connection?
what happens if there is no internet connection, will it show the msgbox?

btw have you also made an ImagePinchZoomView? on the icropview you have already everything working and i really miss a lib where i can show an image and zoom in/out, rotate, and maybe edit with some filters.
 

Alberto Iglesias

Well-Known Member
Licensed User
donation done!

View attachment 96100

so how does the license checking works? does it check on each app start? does it need an internet connection?
what happens if there is no internet connection, will it show the msgbox?

btw have you also made an ImagePinchZoomView? on the icropview you have already everything working and i really miss a lib where i can show an image and zoom in/out, rotate, and maybe edit with some filters.
hello, thanks I will send to you via email and private channel.

no, no internet required
 

ilan

Expert
Licensed User
hi Alberto, i am getting sometimes in debug mode this error message:

Application_Start
Application_Active
AFTER LOADLAYOUT
initWithCroppingStyle: <B4ICropView: 0x280381800>
initWithCroppingStyle after self1: <TOCropViewController: 0x105823000>
initWithCroppingStyle after self2: <B4ICropView: 0x280381800>
initWithCroppingStyle after self3: <B4ICropView: 0x280381800>
initWithCroppingStyle pos Self: <B4ICropView: 0x280381800>
viewDidLoad: <B4ICropView: 0x280381800>
doneButtonTapped1: <B4ICropView: 0x280381800>
doneButtonTapped: Step 1
doneButtonTapped: Step 19
doneButtonTappedStep 19_1: <B4ICropView: 0x280381800>
doneButtonTapped: Step 20
isDidCropToImageCallbackAvailable: <B4ICropView: 0x280381800>
isDidCropToImageDelegateAvailable= true
isDidCropToImageCallbackAvailable= false
[didCropToImage]
[objCrop_onDone] Image cropped received
initWithCroppingStyle: <B4ICropView: 0x280381380>
initWithCroppingStyle after self1: <TOCropViewController: 0x104830a00>
initWithCroppingStyle after self2: <B4ICropView: 0x280381380>
initWithCroppingStyle after self3: <B4ICropView: 0x280381380>
initWithCroppingStyle pos Self: <B4ICropView: 0x280381380>
viewDidLoad: <B4ICropView: 0x280381380>
doneButtonTapped1: <B4ICropView: 0x280381380>
doneButtonTapped: Step 1
doneButtonTapped: Step 19
doneButtonTappedStep 19_1: <B4ICropView: 0x280381380>
doneButtonTapped: Step 20
isDidCropToImageCallbackAvailable: <B4ICropView: 0x280381380>
isDidCropToImageDelegateAvailable= true
isDidCropToImageCallbackAvailable= false
[didCropToImage]
[objCrop_onDone] Image cropped received
initWithCroppingStyle: <B4ICropView: 0x2803b1800>
initWithCroppingStyle after self1: <TOCropViewController: 0x108815e00>
initWithCroppingStyle after self2: <B4ICropView: 0x2803b1800>
initWithCroppingStyle after self3: <B4ICropView: 0x2803b1800>
initWithCroppingStyle pos Self: <B4ICropView: 0x2803b1800>
viewDidLoad: <B4ICropView: 0x2803b1800>
[objCrop_onCancel]
initWithCroppingStyle: <B4ICropView: 0x280381d40>
initWithCroppingStyle after self1: <TOCropViewController: 0x104878800>
initWithCroppingStyle after self2: <B4ICropView: 0x280381d40>
initWithCroppingStyle after self3: <B4ICropView: 0x280381d40>
initWithCroppingStyle pos Self: <B4ICropView: 0x280381d40>
viewDidLoad: <B4ICropView: 0x280381d40>
[objCrop_onCancel]
initWithCroppingStyle: <B4ICropView: 0x280392e80>
initWithCroppingStyle after self1: <TOCropViewController: 0x105812200>
initWithCroppingStyle after self2: <B4ICropView: 0x280392e80>
initWithCroppingStyle after self3: <B4ICropView: 0x280392e80>
initWithCroppingStyle pos Self: <B4ICropView: 0x280392e80>
viewDidLoad: <B4ICropView: 0x280392e80>
[objCrop_onCancel]
Error occurred on line: 201 (photopage)
Unsupported type ^B
Stack Trace: (
CoreFoundation AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 1254164
libobjc.A.dylib objc_exception_throw + 60
CoreFoundation AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 138856
The Resizer +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1416
The Resizer -[B4IShell runMethod:] + 448
The Resizer -[B4IShell raiseEventImpl:method:args::] + 1648
The Resizer -[B4IShellBI raiseEvent:event:params:] + 1580
The Resizer -[B4IDebugResumableSub resume::] + 356
The Resizer -[B4I checkAndRunWaitForEvent:event:params:] + 516
The Resizer -[B4IShellBI raiseEvent:event:params:] + 1436
The Resizer __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
libdispatch.dylib CAFEEE86-4C94-3AC9-8853-BFE11F70C0F4 + 7876
libdispatch.dylib CAFEEE86-4C94-3AC9-8853-BFE11F70C0F4 + 13116
libdispatch.dylib _dispatch_main_queue_callback_4CF + 832
CoreFoundation AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 710320
CoreFoundation AF42303F-57B6-3C11-8F18-8E80ABF7D886 + 688840
CoreFoundation CFRunLoopRunSpecific + 480
GraphicsServices GSEventRunModal + 164
UIKitCore UIApplicationMain + 1944
The Resizer main + 128
libdyld.dylib E5E56A85-E4D6-332E-9F32-FED4B986AFE0 + 4828
)
is it because debug mode?
 
Top