Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
sharpmark  
#1 Posted : Sunday, October 18, 2009 7:10:01 PM(UTC)
sharpmark

Rank: Newbie

Groups: Member
Joined: 10/15/2009(UTC)
Posts: 3

Hi,

I have had a good look around your .NET plugin and still a little confused.

What I am trying to do is edit a .psd template I have and populate text layers within it from data from my db. Then save and print it.

Could someone confirm that what I am trying to achieve is possible so I don't waste the next week trying to do something that cant be done.

In the documentation I can only see 'removelayer' and 'renamelayer' functions, I need to edit the text in the text layer.

Also slightly unsure of the best approach, advanced .psd of vector.

Any hints/tips to put me on the right path would be really appreciated.

Thanks

Mark

Dmitry  
#2 Posted : Monday, October 19, 2009 1:48:28 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

The required functionality can be achieved using Graphics Mill.

The idea is quite simple, every layer contains graphical representation saved by Photoshop, Graphics Mill is able to extract them. So you should create destination image having dimensions of original PSD file. Then you should take every layer, extract its graphical representation and combine with the result image. Whenever you take a text layer that should be replaced, instead of extracting graphical representation for this layer, you need to create a temporary image, draw new text there and combine it with the destination image as you did it before with non-changed layers.

There is a complete sample demonstrating this functionality - Online Business Card Editor from Web Demos Bundle. Please, download and examine it.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

sharpmark  
#3 Posted : Monday, October 19, 2009 2:19:33 AM(UTC)
sharpmark

Rank: Newbie

Groups: Member
Joined: 10/15/2009(UTC)
Posts: 3

Hi,

Thanks for that. I am attempting to follow the real estate digest example as I think it is nearer to what I need because I need to add images of the people to the business cards.

I do have it sort of working although the .psd template has layers with it opacity set to 23%, this then sits over the persons face on the card, however this layer is not retaining its opacity.

Any ideas?

thanks

Mark

Dmitry  
#4 Posted : Monday, October 19, 2009 2:35:13 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Mark,

If you mean that opacity is set in Adobe Photoshop and Graphics Mill does not preserve it, it is really working in this way. Unfortunately Graphics Mill cannot extract opacity values from PSD files. Please, take into account that our library supports only subset of Photoshop features because PSD file format is rather complicated and not documented.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

sharpmark  
#5 Posted : Monday, October 19, 2009 6:04:52 AM(UTC)
sharpmark

Rank: Newbie

Groups: Member
Joined: 10/15/2009(UTC)
Posts: 3

Yes, thats correct, opacity is set in photoshop. Ok, do you know of any work around?

Thanks

Mark

Dmitry  
#6 Posted : Monday, October 19, 2009 6:40:23 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Good day Mark,

The only way to handle opacity is to add it as alpha channel to an image. If you specify overall image opacity in the image settings, unfortunately Graphics Mill cannot handle it.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.