[SOLVED] How would I go about editing photos - Java for Android App Development

Hi,
I'm a new developer and I want to make a simple photo editing app that will have basic brush and crop functions, my question is what's commonly used for this kind of functionality, I've browsed the net but really didn't find much.
I guess I could display a picture and use some kind of loop to capture touch inputs, something like a game loop that's running in the background but how could I use that data to crop a picture?
Is there any APIs for this, any built in functionality?
Thanks in advance!

Just use the Canvas class and paint, crop etc.
Sent from my LG-D802 using Tapatalk

I have the same thought that canvas can serve the purpose very well for cropping and post editing. For cropping function, you may consider to use intent below. I used it for circle cropping. It is relatively simpler than using canvas.
com.android.camera.action.CROP

Thanks,
I've been exploring canvas, I'll use it for painting etc.

Related

S2u2 Question: How Do I Resize Gifs???

With S2U2 now supporting .gif formats, how can i resize them without distorting the image? I have a few wallpapers I want to try myself, but I cant figure out what program to use. Can anyone help me?
hhhmmm do you mean on pc or pda?
irfanview is a good program to do it on pc
but you can never do it without it becomming blocky
all resizing do is to multiply the sizes of the pixels
no software can add new infomation to an image
those tv shows where they can keep zooming
and it audo makes the picture unblocky is just tv
I use GIMP 'Scaling' feature to scale a picture to 240 x 320, after I crop out the portion I want.
GIMP allow you to save multiple layers of pictures as gif format and even determine the speed of animation.
So....would GIMP enable you to take a 240x320 and crop it to a 240x240 like cropping a photo in other imaging software?
Yes it sure does.
GIMP may seem a bit 'daunting' for non-graphic designing tool user like me at first glance. but once you play with it for a while, it's not that difficult.
I'll give it a shot...thanks for the quick response!
is there a way to resize these in a batch rather than one by one using gimp? I just spent 30 mins trying to resize one gif and it still wouldnt even let me save it. Can someone give me some quck instructions on resizing using this program por favor?
How many layer are there in your gif file? I think the length of time taken is due to your unfamiliarity with GIMP. Otherwise, it should be pretty fast. Not sure whether there are other software out there which allows an even faster and easier way of doing this.
By the way, a question for the guru. I notice the picture quality dropped a bit after I saved them into gif. Any tips to get around such a drop?
i believe one gif had about 141 layers, is there a LIMIT to how many layers S2U2 .96 will support?

Looking for simple image cropping & scaling utility

I'm looking for a simple to use Windows utility which I can use to crop pictures with a 4:3 frame and will automatically scale to 320x240 in landscape or portrait. Picasa comes close to what I'm looking for but it doesn't have 4:3 as one of the default cropping ratios.
If you know of something that can do this let me know. I have hundreds of pictures I'd like to crop and scale for display on my HTC Touch.
Thanks.
Leon.
for this i use "irfanview" . it's a freeware.
it can respects the original ratios, and even can handle batch processing/resize ..... on big groups of pictures.
I gave irfanview a whirl, it's quite a powerful program but still a little more than I'm looking for. The interface is not what I'm used to.
Any other suggestions?

Video editing software for our Diamond ?

Hi all,
I used to be really enthused by the small video editing app included in my Sony Ericsson fans. It was very useful to edit video, make personal editing etc... to send via MMS. Assembling clips was made easy and intuitive.
I can't find such an app for pocket PC. I stumbled onto http://www.trakax.com/software/mobile. It's a useful editing software with cutting edge graphix, but not free and quite cumbersome to use...
Do you happen to know a complete video editing software for our beloved pocket pc? It SHOULD exist but I could'nt find anything out there...
THX a lot !
I found nothing.. I hope there will be some video editing software some day, i had a sony ericsson phone, and they have this simple video editing software called VideoDJ. So maybe there will be one to ppc too...
I don't know about video editing for PPC (maybe there r some) , but I think You don't need such a program, you can
edit it by using PC (with many video editing programs) and export the file..
arix said:
I don't know about video editing for PPC (maybe there r some) , but I think You don't need such a program, you can
edit it by using PC (with many video editing programs) and export the file..
Click to expand...
Click to collapse
I like those simple video editing software. Video editing wherever you go..
niikoo said:
I like those simple video editing software. Video editing wherever you go..
Click to expand...
Click to collapse
I just hope you have electricity socket ready wherever u go
i used to use trackax mobile on my atom exec:
http://www.trakax.com/software/mobile/
edit:
missed that you found it already...reccomenned though
New Version of TrakAxPC for VGA devices
Hi Cormac here from TrakAxMobile.
Just a quick note to say we have released a new version of trakAxmobile for VGA devices.
Here is quick list of the improvements we have made.
1) We have improved the search function, allowing you to search your content by day/month/year. You can also highlight a number of days/months or years. This will allow you find the media on your device much quicker.
2) We have also improved the editing. We now decompress the file when you click on the edit button allowing you to access time positions in the file quicker and easier. When editing audio you can just highlight the area you wish to cut on the waveform with your stylus.
3) We now allow you to crop photos and you can add a ken burns effect to photos allowing you to Pan and Zoom into particular areas of the photo.
4) We have added a whole range of new transitions.
5) In the mixing screen, you can now control the tempo of the media by switching the slider function from volume to tempo. The slider now allows to slow down or speed up the clip. This is cool if you want a video clip to play in slow motion or wish to speed it up. The same applies to audio, you can speed it up or slow it down by adjusting the slider.
6) We now also allow you add themes and effects to videos or photos. You can also change the color of the text and add background colors to your credits.
You can check out the new features at our website -
http://www.trakax.com/software/mobile/trakaxmobile_vga_devices/
and there is a 7 day free trial available from the following link.
http://www.trakax.com/software/mobile/trial_version/
Check it out and if you have any question, please don't hesitate to contact me.
Best regards
Cormac
Been using trakAx for a while now - awesome app!!!
Just be patient when its rendering your clips as it can take a while - its got a lot of processing to do.
Output is only 640x480 though I think

Increase zoom in album viewer

Is there any registry tweak that will allow you to zoom in closer with the album viewer software. It works great for the files I view but I need to be able to zoom in much more than it allows
Thanks
Mike
Correct me if I'm wrong, but I think you can zoom in as far as the resolution of each image allows. I have some pretty high-res photo's (taken on a digital SLR) and I can zoom in on them until I start to see pixels. If you have low-res pics, you'll start seeing pixels much sooner.
Zooming in any further would be useless since it can't add any detail, you'll just see pixels the size of Lego blocks.
Edit: I realize you may want to examine an image pixel-per-pixel for some reason. In that case, sorry, I can't help.
Thanks for your response, If I could zoom in that close it would be great. I have some hi resolution files anywhere from 6-10 MB which open fine but I can only zoom in about 3 levels. If I could go to the level you describe, it would more than meet my needs.
Hm... Maybe there is a limit after all. I must admit I haven't tried any files in the 10mb region.
I've taken a quick look in the registry but I haven't come across anything that looks like it might solve this. Sorry.
I looked in the registry too but couldn't find any reference to HTCalbum at all. Guess I'll just have to start trying all the demos of the photo apps again...
There's a bunch of stuff under 'HKLM/Software/HTC/HTCAlbum'. Maybe you can find something I overlooked there.
Thanks, don't know why Resco didn't find that ref, I thought it scanned all directories. I couldn't find anything there either. I did change a dword from 2 to 3 in wheelzoomin frames but that didn't do anything obvious so I changed it back. Wonder if HTC support might be able to help, I've read that they're quick to respond to customer software issues but since this is more of a preference issue vs buggy software they may not offer up much.
Yeah, today I copied a 78 mega pixel image (actually a map) to my Leo and to my surprise, I can't zoom more than a certain amount in HTC Album. Anyone know a fix for this?
use resco photo manager, that one allows you to zoom in much more than the htc album. The newest version also supports multi-touch!
thanx! Tried resco; I'm flattered how they implemented multi touch this soon! only a month and a half after Leo's release.
It's really nice and fast (even faster refresh time than htc album) but I wish u could disable multi touch rotation. It's constantly confusing pinch with rotation.

[Q] Drawing Shapes/Spirals and Filling

Hi everyone,
I'm looking for some general advice regarding drawing shapes, lines intersecting those shapes, and filling the space in between.
A little background, I'm creating an app for my son where patterns of geometric shapes are shown. When they are interacted with it would be nice to be able to change colour / animate in some way.
I have created the basic framework for the app - activities, layout, menus and the like. I now need to think about actual functionality.
Looking online I have read some resources on canvases and OpenGL. Both look as though there would be a considerable learning curve, so I'm reaching out for some advice ahead of that.
Many thanks,
Peter :laugh:
Canvas is really pretty easy - just give it a try.
For example you could implement classes for each Object Type (Rectangle, Circle) and save the data (colour, x/y-position,...) in it. Then code a draw(Canvas onto) for that classes.
Kind Regards
Thanks, I'll give it a go with that
petedunc88 said:
Thanks, I'll give it a go with that
Click to expand...
Click to collapse
Yeah, you won't need OpenGL for that.
You could also have a look at 2D graphics engines. They simplify things a lot.

Categories

Resources