Hello There, Guest!
View New Posts  |  View Today's Posts
help to change image

  • 0 Vote(s) - 0 Average


04-15-2016, 04:45 PM #1
Darkon
Junior Member
**
Posts: 5 Threads:1 Joined: Apr 2016 Reputation: 0

help to change image
Hello, I am new to the forum and learning in vb.net.
Many tutorials forum I saw, helped me a lot.

I'm trying to make a change in the picture so I get it.
I've seen some tutorials anything to solve my problem.

can anybody help me?

The idea is so ..
Once you get the picture:

change to:

and


Ps: I do not want to modify the picturebox, I want to change the image
need to modify the image for that image will be printed

04-16-2016, 09:25 AM #2
sh@rp
Member
**
Posts: 199 Threads:11 Joined: Feb 2012 Reputation: 10

RE: help to change image
Hi,

We will not code it for you, so these are tracks you can explore :

GDI
Cropping

..then try some attempts on a project and comes back when you will be stranded somewhere in your code. You must understand that we can't teach you certain concepts. ;)

Regards.

04-16-2016, 02:40 PM #3
Darkon
Junior Member
**
Posts: 5 Threads:1 Joined: Apr 2016 Reputation: 0

RE: help to change image
I do not want a ready code.
I want a help to know where to start ...

I've seen tutorials GDI, more in all cases did not see any close to what I want, or am I not knowing look.

Suddenly a suggestion of how to make this easier effect.
Use something to change the image
or as thinking a few days, Use an image already in this format and merge with another image
What would be easier?
This post was last modified: 04-16-2016, 02:49 PM by Darkon.

04-17-2016, 02:05 AM #4
sh@rp
Member
**
Posts: 199 Threads:11 Joined: Feb 2012 Reputation: 10

RE: help to change image
Quote:What would be easier ?


The easier way is to crop your picture with rounded corners
There are a lot of examples on the Net. (Google : crop picture rounded c#) :
--> How to make pictures with rounded corners
This post was last modified: 04-17-2016, 03:52 AM by sh@rp.

04-18-2016, 02:20 PM #5
Darkon
Junior Member
**
Posts: 5 Threads:1 Joined: Apr 2016 Reputation: 0

RE: help to change image
sharp thanks for trying to help me.
I tried to use the crop but can not make the same effect that was wanting.
However accomplish the effect placing the image on top.
If someone wants something, my code:
Code:
 Dim bd As New Bitmap(Application.StartupPath & "\bdtest.png") 'only test.. img border
 Dim img1 As New Bitmap(OpenFileDialog1.FileName)
 Dim imgj As New Bitmap(57, 76)
 Dim g As Graphics = Graphics.FromImage(imgj)
 g.DrawImage(img1, 0, 0, 57, 76)
 g.DrawImage(bd, 0, 0, bd.Width, bd.Height)
 g.Dispose()
 g = Nothing
 PictureBox3.Image = imgj
This post was last modified: 04-18-2016, 02:20 PM by Darkon.

04-24-2016, 01:27 PM #6
Darkon
Junior Member
**
Posts: 5 Threads:1 Joined: Apr 2016 Reputation: 0

RE: help to change image
Building on the topic.
I wonder how can I do bend the image.
Type to get a tattoo or print on any object, make the image get the same curvature as the object.

I read about skew image but you do 3 points and the image fits them. I did not find how to change the angle of it.

04-28-2016, 08:19 PM #7
Darkon
Junior Member
**
Posts: 5 Threads:1 Joined: Apr 2016 Reputation: 0

RE: help to change image
the image itself does not take the curvature of the other image. Only you do the effect. If I just add the image in place, it will be in the right place but will be as if it were false.
So I want to take effect so that it is bent, as if you colocare a sticker on a soccer ball. (The adhesive is curved in the same proportion of the ball)




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
   help change as3 to c# MrChuCong 1 894 06-23-2015, 08:54 AM
Last Post: KoBE
   GDI+ Error When saving image (Really Need help) t0kneneng 11 5,373 02-20-2014, 02:59 PM
Last Post: KoBE
   [Help] Batch Image Downloader wolfgang959 2 3,793 12-12-2013, 03:26 PM
Last Post: KoBE
  Registry: How to Change/Set Multiple Values In All Subfolders? Miklo 6 3,346 09-25-2013, 05:24 AM
Last Post: Miklo
   Image Codecs - Transform An Image AceInfinity 3 1,761 12-31-2012, 02:23 PM
Last Post: AceInfinity


Users browsing this thread: 1 Guest(s)