Can we deliver HEIF images through a CDN? [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I'd like to deliver HEIF images through a CDN such as Amazon CloudFront after release iOS11.
But we can't use Nokia's HEIF implementation for commercial purposes because of this license.
So I'm looking for an another method to encode HEIF images.
Accordig to Introducing HEIF and HEVC, HEIF images can only be created by iOS devices that have A10 Fusion chip.
we currently only have HEIF encode support and hardware on iOS with minimum configuration being the A10 Fusion chip, an example, of which, is the iPhone 7 and the iPhone 7 Plus.
Can we deliver HEIF images that are created by iPhone7 etc through a CDN?
Is this a patent infringement?

Apple is only talking about hardware-level encoding support. HEIF is a format developed by MPEG and isn't Apple-controlled. Usability and support are still limited, but AFAIK there aren't any technical or legal reasons why you cant use it anywhere (if supported):
More information and links to C++ and JS libraries here: https://nokiatech.github.io/heif/

The licensing issue you're concerned about is only for Nokia's reference implementation. My guess is that Apple is using their own implementation. Regardless, it's not something you need to be concerned about.
If for some reason you are looking to create HEIF images yourself, there's at least one open-source implementation currently available for commercial use. Specifically, GPAC. Though its license (LGPL) does have its own set of potential drawbacks for commercial projects.

Related

UIImage to compressed and encrypted data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm trying to create and send an encrypted image via an iMessage app. I've never done something like this before and I'm not even really sure where to start.
I know that there are GitHub repos like this one that provide a lot of different encryption methods. I also know that Apple provides compression libraries on iOS. What I don't know is what algorithms and compression options to use.
I need it to be as small as possible, but still maintain a reasonably high image quality (think Instagram quality or higher).
Short version: What is the best way to compress and encrypt a UIImage on iOS?
Use ZIP for compression and AES for encryption. ZIP first and then encrypt, AES is available in the Common Crypto. There are many answers on SO about encryption with Common Crypto in iOS.
But how will the image get decrypted by the receiver and how will the encryption key be shared between the sender and receiver?
AES encryption increases the size by at most 16 bytes of padding.
On an iPhone 5S I get encryption speed of 440MB/s. Common Crypto uses the built-in encryption hardware, software implementations such as CryptoSwift are much (orders of magnitude) slower.

How to tack real world object using iphone camera? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am iOS developer. I am new with doing object tracking feature. I have searched many links based on tracking real objects. But I have found many links like image tracking, image matching and all. Likewise I would like to track the real world objects.And also I have gone through a site below:
http://developers.arlab.com/me
It helps a lot for tracking images, image matching etc. But not specified any object tracking. If anybody suggesting good tutorial or having any sample source code of object tracking, please share.
Advance Thanks for your support.
You can use the OpenCV framework for Object Tracking. There are many nice tutorial and documentation on internet.
Below i have listed some.Please check if this helps you
Official Site
OpenCV is released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android. OpenCV was designed for computational efficiency and with a strong focus on real-time applications...
http://opencv.org/
You can download the SDK from here
Demo Github project
https://github.com/Itseez/opencv
https://github.com/atduskgreg/opencv-processing
These are some examples you can find many more.

Scanner API for iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a scanner API library to be embedded in a new app I'm developing in order to give it the feature of scanning documents (in PDF or other formats) using the built-in camera of the iPhone/iPad. Is anybody aware of such a library (...available for free or cheap...of course). Thanks in advance
The Genius Scan SDK allows developers to integrate a document scanning module into mobile apps. Both iOS and Android.
It's a full–fledged image processing SDK rather than an API as it includes the core features needed for capturing documents on mobile (edge detection, distortion correction, multiple types of image amelioration and PDF/JPEG generation). It doesn't require installing third-party apps.
SDK is native for iOS and Android, and doesn't support OCR at this time. It's derived from the application of the same name, which provides a good preview of the SDK (free on both app stores).
So you are looking for an Optical Character Recognition (OCR) iOS SDK.
There is 2 basic type of OCR SDKs: offline and cloud based.
Here is a few options:
ABBYY ,which is a great OCR engine, they have an offline and a cloud base solution too. So far it is the best OCR engine for iOS, very good performance and very good precision, but they are not cheap. You have to contact the sales team, and provide information for about your project for a demo SDK.
Tesseract, iOS Wrapper here, which is Google's Open Source project. It is free, but it has way worse performance than ABBYY's engine. It is very flexible, and has a big community.
Also there is some more, but I don't have any experience with these:
Pixelnetica
OCR Api Service
VeryPDF Cloud
First you should let the user take a good photo of the desired document, crop and scale it for the most accurate picture, and after that submit it to the OCR engine.

How can I compress and encrypt a large file without using external DLLs or runtimes? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a component or other technique to compress and encrypt multiple large files (files which exceed 4gb in size, and thus will not fit in the memory available to a win32 process) into a single file. I would like the encryption to be very strong (256 bit AES or better) but the compression doesn't matter to me.
Right now, I'm using the TJvZlibMultiple component which creates its own non-Zip file format, but I have to create the archive, then encrypt it in a separate step (I'm using DcpCrypt right now). I'd like to do the same in a single pass, using streams, without using memory equal to the size of the file (ergo, the compression and encryption should happen with streams, and not in memory).
I have seen, and don't want to use, anything that requires an external DLLs like the 7zip dll. Commercial tools are okay, or any code or sample Delphi sources, but I'm looking for a thorough implementation within Delphi not a thing that imports and invokes functions in a dll.
Take a look at DIZipWriter.
Supports 256 bit AES, streaming and compression.
Update:
Version 5 claims to have support for large sized (64bit) entries, DIZipWriter History.
You could take a look at FlexCompress by ComponentAce: http://www.componentace.com/compression_component_compression_delphi_encryption_delphi_flexcompress.htm
Check FlexCompress:
FlexCompress is a compression delphi component designed for creating archives with strong encryption and better compression rate than WinZip and RAR. Native VCL, no DLLs, no OCXs, provides compression for files, buffers, streams and strings, supports in-memory archives, compresses large files > 4 Gb with low memory consumption and lots of other useful features.
http://www.componentace.com/flexcompress_features.htm
by this link: http://delphi.about.com/od/toppicks/tp/delphi_zip.htm

how to protect an epub file from copying and printing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I want to protect my epub files from invalid access.
Does anyone know how to protect an epub file from copying and printing?
ePub files do not have a built-in method to do Digital Rights Management (DRM), which is what you're asking about. The specification does allow for various DRM schemes to be implemented on ePub files (see here -> http://en.wikipedia.org/wiki/EPUB#Digital_rights_management) but there is no standardized, ePub-specific, way to do this. So, if you want to do this, check into the various types of DRM available out there for ePub.
One potential option might be DocProtect 4.
If you publish your ebook on Amazon, or Apple, you can choose to have them wrap it in their DRM, which essentially enforces rules about what devices it can be read on (for instance, up to N devices registered to the purchaser). It's not something you really want to do yourself. However, you should consider whether you really want to do this.
Yeah you are need DRM (Digital Rights Management) solution. Which is expensive also, implementing is very hard. You have to choose your solution either way you need service like www.editionguard.com

Resources