Jump to content

Recommended Posts

Posted
Yes. "The grey is still there" is a common problem. You can get rid of it when you change the grey in your decals to transparent.

On Linux I do it with convert. There should also be some possibilities on Windows ...

There's an minifig-gen3-ie for the Internet explorer. Do you use that as starting point ???

Andreas

Hey great work! You are a javascript mastermind. Way to write functions! *y* The alignment is perfect in IE and in firefox now. Don't you hate that cross-browser crap? If only there were one ring to validate them all...

Great great job!

Posted
Hey great work! You are a javascript mastermind. Way to write functions! *y* The alignment is perfect in IE and in firefox now. Don't you hate that cross-browser crap? If only there were one ring to validate them all...

Sorry to disapoint you, but I started to learn some javascript this week ...

Hope also to get rid of the two entry points caused by different browsers ...

andreas

Posted
Sorry to disapoint you, but I started to learn some javascript this week ...

Hope also to get rid of the two entry points caused by different browsers ...

andreas

I think the functions you wrote in the first one were impressive as well. Javascript can be annoying because they update it so often and browsers don't treat it the same. You should look into .asp and .php

Need any more help from me with images? And really, the progress you made on the generator in such a small amount of time is impressive...

Posted
I think the functions you wrote in the first one were impressive as well. Javascript can be annoying because they update it so often and browsers don't treat it the same. You should look into .asp and .php

Need any more help from me with images? And really, the progress you made on the generator in such a small amount of time is impressive...

Currently I vote for Javascript since that can be done only with web space ...

I did a small hack for the automatic load of a library ...

The most anoying problem is the background of the decals which overwrites the torso. Even if the others contibute decals with transparent colors, that won't work for custom decals found in the net...

My idea would be to add an additional torso element consisting of the old one where the body is left transparent.

If that lies on top of the sticker it would cover the background of the sticker.

(remaining arms and blue background and maybe some small frame for the torso.

Do you think you can manage to make an example out of the existing one and try if that works ....

andreas

Posted
Currently I vote for Javascript since that can be done only with web space ...

I did a small hack for the automatic load of a library ...

The most anoying problem is the background of the decals which overwrites the torso. Even if the others contibute decals with transparent colors, that won't work for custom decals found in the net...

My idea would be to add an additional torso element consisting of the old one where the body is left transparent.

If that lies on top of the sticker it would cover the background of the sticker.

(remaining arms and blue background and maybe some small frame for the torso.

Do you think you can manage to make an example out of the existing one and try if that works ....

andreas

I will definitely take a look at it for you. My javascript is rusty (then oil it!) so I'm sure I'll have questions for you...

Posted
I will definitely take a look at it for you. My javascript is rusty (then oil it!) so I'm sure I'll have questions for you...

Only try to make the torsos. And try that in a html builder if my idea is ok.

The javascript part and adding an additional image should be no big problem ...

Posted
Only try to make the torsos. And try that in a html builder if my idea is ok.

The javascript part and adding an additional image should be no big problem ...

Is this what you are looking for?

white_example.gif

For the torsos, they should be high quality files for those who want to download them and print them on decal paper. Can we have it so the torso files in the generator are optimized but when you download them, they are the print quality files? I can help with that if you think that'll be a good idea.

EDIT: Here are some more epaulettes, too.

epaul_black.gifepaul_blue.gifepaul_brown.gifepaul_green.gifepaul_red.gifepaul_tan.gifepaul_white.gif

Posted
Is this what you are looking for?

Thanks:

Yes, but the gif should only let the trapezoid free, to cover all unnecessary things surrounding the decal.

The epaulets are already incorporated ...

When you press "load the torso" you can already load the decal in original size ....

Andreas

Posted
Thanks:

Yes, but the gif should only let the trapezoid free, to cover all unnecessary things surrounding the decal.

I'm not sure what you mean by this. Let the trapezoid free? You mean leave the rest of the blue in? The cell can just have a blue background...

Sorry if I'm missing your point.

When you press "load the torso" you can already load the decal in original size ....

Andreas

Size matters not. :-D the torso loaded should not be a gif, since gifs are not good for printing.

Posted
I'm not sure what you mean by this. Let the trapezoid free? You mean leave the rest of the blue in? The cell can just have a blue background...

Sorry if I'm missing your point.

Size matters not. :-D the torso loaded should not be a gif, since gifs are not good for printing.

The image has to cover all the parts which are not inside the place where the torso decal lies. With this method all things which do not belong to the decal are removed.

The point is that I've switched completely to the original decals from the creator. No matter what they are.

The ones in the right window are still the manipulated ones. But they will be replaced by the originals in the near future.

So with this point we can use any decal available but have to use what the contributor provides ....

(You can already check this by providing the web address of any decal you find on brickshelf and press afterward "load Image")

Maybe I should provide a possibility to change the size and the position. Then really any image can be used.

Andreas

Posted
The image has to cover all the parts which are not inside the place where the torso decal lies. With this method all things which do not belong to the decal are removed.

The point is that I've switched completely to the original decals from the creator. No matter what they are.

The ones in the right window are still the manipulated ones. But they will be replaced by the originals in the near future.

So with this point we can use any decal available but have to use what the contributor provides ....

(You can already check this by providing the web address of any decal you find on brickshelf and press afterward "load Image")

Maybe I should provide a possibility to change the size and the position. Then really any image can be used.

Andreas

Ooh ooh ooh! I just discovered something. I think the reason the firefox version doesn't work in IE is because the table isn't spaced, it expands with the page. Can you space each cell so that the table size never changes. Then maybe that one version will work in both browsers!

Hey, things are looking really great! X-D I'll work on the arms gif...

Posted
Ooh ooh ooh! I just discovered something. I think the reason the firefox version doesn't work in IE is because the table isn't spaced, it expands with the page. Can you space each cell so that the table size never changes. Then maybe that one version will work in both browsers!

Would be a great enhancements since IE version always is far behind ...

Will that check during weekend since I added a new version and some additional features today.

  • 2 weeks later...
Posted (edited)

There are a lot of news now:

I: New Torsos:

- Lord Doom

- Bonaparte

- Minifig Customization Pirates

- Minifig Customization

- Woody64

- Some more from Mosana

- New Heads and Legs

II. IE and Firefox now use the same Version

III. Simple Format for custom contributions:

- Help

- Example

- including some enhanced possibilities to add extra stuff like html code, ...

- a mail interface to send custom decal files to me for incorporation

IV.

- Additional methods for sizing and position of a custom decal

- no need to use decals with transparent background. The background is removed via a trick ...

V.

- Both windows can now be used with all sorts of Libraries.

VI.

- Loading and browsing of html pages in the left window

- from there decals can be overtaken with 3 clicks to the minifig,

- so all decals available on the web are usable

andreas

Edited by woody64
  • 3 weeks later...
Posted

Back from vacation I saw some new decals from Mosana. Maybe somebody finds this tip usefull:

Mini Howto for quick trial of decals given in one of these threads:

Firefox:

Copy Image Address (Right click menu)

Ctrl-v in the Adress field of the Minifig generator

Load Decal from Address (Picture Icon beyond the minifig)

That's it ... afterwards change body, hat and trousers as apropriate for the decal

andreas

  • Governor
Posted

This seems to have come along nicely but wouldn't it be more flexible if the hats were seperate from the heads?

This would allow for different combinations of heads and hads and increase the overall customisability.

Posted
This seems to have come along nicely but wouldn't it be more flexible if the hats were seperate from the heads?

This would allow for different combinations of heads and hads and increase the overall customisability.

Yeah, you are right.

I've planned that for version 2 or then when somebody provides the needed faces.

Andreas

Posted
That aside, before we can integrate this generator into Classic-Pirates.com

I think the interface needs to be streamlined - a lot.

I've taken a look on the possibilities to split the faces and hats but since it uses some tricks to overlay the graphics it seems to be a difficult thing. At the end a proper solution is only possibly with server side scripting and imagemagic not with the current javascript version.

That would also give the possibility to overcome the javascript protection mechanism which hinders smooth integration of sides not lying in the same domain.

But at the moment no chance for me since I only have a web space without scripting facilities ... :-(

Can you specify the points you mean with:

I think the interface needs to be streamlined - a lot.

Andreas

  • 4 months later...
Posted (edited)

Currently I do some internal changes to php based functions (instead of javascript).

Therefore some of the functionality may be affected.

The main public result now is that "Create Minifig" now creates directly one(!) png image.

(since it's now internally done via php image functions).

That may be the base for some future enhancements (like change of faces) ...

Andreas

Edited by woody64
Posted (edited)
Currently I do some internal changes to php based functions (instead of javascript).

The main change is done and as result there's a first trial for integration of faces, as can be seen on the internal gallery:

071228-081550.png071228-083447.png071229-082453.png

New features:

- user decals which were loaded via the address field are stored in a file which can be loaded in the right frame

- generated minifigs are stored in http://lego-minifig-generator.mac-au.eu/png-gallery.html

- minifigs are created as png images

- additional faces are available via the minifg-head icon of the right frame

Andreas

Edited by woody64

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...