photos

Photo stitching/panorama API/DLL/Library anyone?

笑着哭i 提交于 2019-12-20 08:50:42
问题 For a special project, I need to find an API/DLL/Library to help me create a big image using parts of this image. For example, if someone take 4 pictures representing the 360 degrees around him, he will be able to create one big image (panorama) by stitching the 4 images together using special algorithm that recognize some patterns. I know how to do this in Photoshop and I know there are a lot of programs that to this on the internet. But I want one that will be controlled by programming.

change wallpaper via iphone app

戏子无情 提交于 2019-12-18 09:05:12
问题 Does apple allows me to change the wallpaper of the iphone from my application? 回答1: The public iOS 4.0 API so far does not allow changing any of the iPhone wallpapers programmatically. Undocumented APIs are not supported by Apple, so no, I don't think they would allow it. However, technically it should be possible to do so. 回答2: Nope, no public APIs for it even with the latest SDK. You need to ask the user to save your image as a wallpaper manually. 来源: https://stackoverflow.com/questions

ALAssetsLibrary seems to return wrong number of my photos

社会主义新天地 提交于 2019-12-18 06:35:41
问题 When I use ALAssetsLibrary to get local photos it works fine. But after I delete some photos with the 'Photos' application my app crashes. Crash info is: "Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSOrderedSet enumerateObjectsAtIndexes:options:usingBlock:]: index 14 beyond bounds [0 .. 9]'".'14' It looks like the number of local photos still remains the same as befoore. And even after I quit my app and restart it again, it still crashes. Local photo access

Where should I store photos? File system or the database? [duplicate]

邮差的信 提交于 2019-12-17 11:15:11
问题 This question already has answers here : Closed 10 years ago . Possible Duplicate: storing uploaded photos and documents - filesystem vs database blob I am starting to develop a web app, the primary purpose of which is to display photos. The users will be able to upload photos as well. The first question that came up was where to store the photos: on the file system or the database. I will be using a Windows box to host the site. The database is MySQL and the backend code is in C# utilizing

Where should I store photos? File system or the database? [duplicate]

不问归期 提交于 2019-12-17 11:14:22
问题 This question already has answers here : Closed 10 years ago . Possible Duplicate: storing uploaded photos and documents - filesystem vs database blob I am starting to develop a web app, the primary purpose of which is to display photos. The users will be able to upload photos as well. The first question that came up was where to store the photos: on the file system or the database. I will be using a Windows box to host the site. The database is MySQL and the backend code is in C# utilizing

How to have the Camera Intent put a photo into internal storage?

空扰寡人 提交于 2019-12-14 03:53:24
问题 I have been at this all day and can't seem to get it to work. It use to work before according to the previous person who worked on it. cameraIntent = new Intent("android.media.action.IMAGE_CAPTURE"); String imageName = CustomApp.getTimeStamp(0) ; String path = CustomApp.getCurrentActivity().getDir("images", Context.MODE_WORLD_WRITEABLE).getPath()+File.separator+imageName; File file = new File(path) ; Uri img = Uri.fromFile(file) ; Intent passthruDataIntent = new Intent(); cameraIntent

OSX Photos, Applescript: loop through Moments?

好久不见. 提交于 2019-12-13 16:39:03
问题 I am very new to AppleScript but have worked extensively (for years) with other scripting languages, so not entirely new to the game. I have just sadly said goodbye to Aperture and imported my nearly 100K digital images into Photos (so I'm also brand new to Photos). I would like to make a sane structure for finding images, i.e. Folders named for Year (e.g. 2004) contain Folders named for Month (e.g. 05) contain Albums named for each day for which there are images (e.g. 2004-05-03) (yes this

IOS8. Photos application bug?

此生再无相见时 提交于 2019-12-12 09:55:34
问题 When I use filters in standard Photos application in IOS8, I can't get full metadata. I try two methods fetch metadata: [manager requestImageDataForAsset:asset options:options resultHandler:^(NSData *imageData, NSString *dataUTI, UIImageOrientation orientation, NSDictionary *info) { CIImage *ciimage = [CIImage imageWithData:imageData]; NSMutableDictionary *exif = [NSMutableDictionary dictionary]; [exif addEntriesFromDictionary:ciimage.properties]; }]; [asset

When can I use Photos Framework and iCloud Photo Library?

感情迁移 提交于 2019-12-12 06:16:30
问题 I want to provide my users a photo picker which displays all their images similarly to the Photos app. Currently I can use two frameworks, the old Assets Library and the new Photos Library frameworks. Is there any recommendation how should I choose between these two? The documentation states: In iOS 8.0 and later, use the Photos framework instead of the Assets Library framework. The Photos framework provides more features and better performance for working with a user’s photo library. But as

Does Java have any known issues with Images and displaying them

懵懂的女人 提交于 2019-12-12 05:27:58
问题 I am new to Java but not new to graphics I'm trying to expand my understanding with a project in which I'm displaying many photos of items using JLabels and Icons to display them, The items pictures are garnished from various locations on the net and so many sources. I've converted these into PNG files as they have transparent backgrounds to them. Thing is I wasted a whole weekend recently checking and re-checking some code because one item just would not display, following the logic to its