image-editing

Java padding image

旧城冷巷雨未停 提交于 2019-12-05 02:56:15
I am working on creating an online image editing tool.Looking for some refernce how can I add an image with white space on right side.For example see this image Presumably, you want to create a new image from an existing image, where the new image has white space on the left and right? Suppose the unpadded image was a BufferedImage and is called 'image'. Suppose the amount of whitespace you want on each side is 'w'. What you want to do is create a new BufferedImage wider than the original, then paint the entire thing white, and finally draw the smaller image on top of it: BufferedImage

How to add custom frames to images programmatically

∥☆過路亽.° 提交于 2019-12-04 09:01:01
I want to create an app where i need to add frames to the images.i don't have any idea regrading this.i got one link where the frames are added to the images.could anybody help me. Here is the link @Thanks in Advance!! nidhi_adiga Edit: Gallery OnItemClickListener gallery.setOnItemClickListener(new OnItemClickListener() { Bitmap frame = null, out = null; @Override public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) { Bitmap urImage = BitmapFactory.decodeResource(getResources(), R.drawable.urBackgroundImageID);//edit frame = BitmapFactory.decodeResource(getResources(),

How to handle stickers with resize and rotate functionality? [closed]

こ雲淡風輕ζ 提交于 2019-12-04 07:35:38
问题 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 11 months ago . I am currently developing an application which will allow user to add stickers (hat, hairs, spectacles etc) on image. User can resize that sticker or can rotate that and move also. See image. I have stickers, but how can I put them on original image and move/rotate/enlarge them

Putting some indicator around the image in image move/resize/rotate operations

為{幸葍}努か 提交于 2019-12-02 15:35:12
I would like to Scale, Move, Resize Image. I would like to surround the image with Indicators which guide user what operation these indicators perform i.e. Moving, Rotating, Scaling. I've tried Scaling - but it only crops down. No chance to increase length and height of image. Rotate - achieved but via inserting manual degrees. That's not a good option in here. Moving - as I'm achieving drag on Api < 11. So little bit of difficult. Still no hope in here. Is there any library which can do me simple image edit [Move, Scale, Rotate]? You can use Matrix transaformation to achieve rotating, scaling

How to handle stickers with resize and rotate functionality? [closed]

谁说胖子不能爱 提交于 2019-12-02 14:32:22
I am currently developing an application which will allow user to add stickers (hat, hairs, spectacles etc) on image. User can resize that sticker or can rotate that and move also. See image. I have stickers, but how can I put them on original image and move/rotate/enlarge them to adjust on original image? You can check the below link for stickerView https://github.com/nimengbo/StickerView https://github.com/kencheung4/android-StickerView https://github.com/uptechteam/MotionViews-Android https://github.com/wuapnjie/StickerView https://github.com/sangmingming/StickerView https://github.com

Is there any JavaFX Image editor?

随声附和 提交于 2019-12-01 00:42:32
I want to put a simple raster graphics editor into my JavaFX app. It seems that it can't be done using javafx.scene.image.Image because the graphics object is read-only. Can somebody point me how can I do this or maybe there are some classes that provide direct access to pixel map? upd: it is not necessary for editor to respond quickly, so the suggestions a-la create hidden java.awt.Canvas , handle all the events on ImageView to draw on the canvas, create by some means an output stream from the canvas to create new javafx Image and put it to ImageView . jewelsea You can use a JavaFX canvas to

Is there any JavaFX Image editor?

你。 提交于 2019-11-30 19:08:45
问题 I want to put a simple raster graphics editor into my JavaFX app. It seems that it can't be done using javafx.scene.image.Image because the graphics object is read-only. Can somebody point me how can I do this or maybe there are some classes that provide direct access to pixel map? upd: it is not necessary for editor to respond quickly, so the suggestions a-la create hidden java.awt.Canvas , handle all the events on ImageView to draw on the canvas, create by some means an output stream from

How to apply different image effects (filters) on bitmap like sepia, black and white, blur, etc.?

旧时模样 提交于 2019-11-28 04:47:15
I am not having any idea of how to apply different effect on Image, I have seen the EffectFactory class and Effect class in effect class there is one method apply but I am not sure what to pass in inputTexId and optputTexId, and from where I get the new updated image, how to store the updated image in imageView, Please help me with how to approach this problem. Is there any opensource library available for providing effects on Image. Thanks, I have implemented Jerry's Java Image Processing Library . Works fine for me. Download AndroidJars . Edit Bitmap bitmap = BitmapFactory.decodeResource

Image Filter which uses the highest occurence of pixel values

穿精又带淫゛_ 提交于 2019-11-27 08:16:31
问题 I want to use an image filter, which should replace the pixel it's dealing with with the highest occurence of the neighbors. For example if the pixel has the value 10, and the 8 neighbors have 9, 9, 9, 27, 27, 200, 200, 210, then it should pick 9, because 9 has the highest occurence in the neighborhood. It also should consider the pixel itself, too. So for example if the pixel has the value 27 and the 8 neighbors have 27, 27, 30, 30, 34, 70, 120, 120 then it should pick 27, because 27 is

How to apply different image effects (filters) on bitmap like sepia, black and white, blur, etc.?

泄露秘密 提交于 2019-11-27 05:26:23
问题 I am not having any idea of how to apply different effect on Image, I have seen the EffectFactory class and Effect class in effect class there is one method apply but I am not sure what to pass in inputTexId and optputTexId, and from where I get the new updated image, how to store the updated image in imageView, Please help me with how to approach this problem. Is there any opensource library available for providing effects on Image. Thanks, 回答1: I have implemented Jerry's Java Image