| |
STE'86
Registered: Jul 2009 Posts: 274 |
oswald we need to have a chat about p1
and the way it replaces 4th colour.
now i realise atm its broken and u are out of action.
however while u are incapacitated have a think about this:
atm it works that replace 4th colour will only work if u try to place a pixel on an existing none background colour. if u try and place a 5th colour on background it wont work because obviously it cant replace the BG colour.
now what i would like it to do is what koala does and let u place that pixel while changing another of the 4 colours (maybe the least used one). thereby u can happily draw over the background colour in your 5th colour
do u get me?
Steve
oh and by the way the export does not work on 0.6
doesnt matter what extension you type it always saves in bmp format. (you may already be aware of this i dont know)
|
|
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Protip: we have a PM function.
Protip2: There's at least 2 already threads about project1, and 1 is more than enough. Use the search function.
------------------------------------
http://zomgwtfbbq.info |
| |
STE'86
Registered: Jul 2009 Posts: 274 |
protip 3:
the ignore function for use on snotty little wannabes does work it seems.
|
| |
null Account closed
Registered: Jun 2006 Posts: 645 |
Aww, isn't that cute. The super leet oldschooler can't deal with some criticism.
------------------------------------
http://zomgwtfbbq.info |
| |
Oswald
Registered: Apr 2002 Posts: 5020 |
I'll look into the replace stuff in a week (if all goes well).
The export problem is intentional and needs a long explanation: I've found no way to tell Visual Basic to specify what DLL to use exactly. Now the export function needed a specific win DLL, which windows xp likes to update to a version that does not work with P1. I have figured I'll get rid of the problem once and for all. It's not fun having to hunt down all DLL's with the same name replacing it to the version you need.
if anyone reading this can provide some C++ code which exports a windows bitmap object as png/gif that would help. With the help of Edhellon P1 has now its own DLL for stuff that Visual Basic is too clumsy at. |
| |
Moloch
Registered: Jan 2002 Posts: 2896 |
Quoting KnoekiAww, isn't that cute. The super leet oldschooler can't deal with some criticism.
That wasn't criticism, you're being an asshole. There is definitely a difference between both, this follow-up of yours proves the point even further. |
| |
JCB Account closed
Registered: Jun 2002 Posts: 241 |
Quote: I'll look into the replace stuff in a week (if all goes well).
The export problem is intentional and needs a long explanation: I've found no way to tell Visual Basic to specify what DLL to use exactly. Now the export function needed a specific win DLL, which windows xp likes to update to a version that does not work with P1. I have figured I'll get rid of the problem once and for all. It's not fun having to hunt down all DLL's with the same name replacing it to the version you need.
if anyone reading this can provide some C++ code which exports a windows bitmap object as png/gif that would help. With the help of Edhellon P1 has now its own DLL for stuff that Visual Basic is too clumsy at.
Are you trying to keep stuff streamlined? Like not need a full VB install or something? If not then you just need System.Drawing.Image imported. After that there's various ways to do it from internally converting an image to a new buffer to just saving with the required ImageFormat.
Should just be a case of say you've created an internal bmp called Mybmp, doing Mybmp.Save("filename",ImageFormat.PNG)
Might be sliiightly different to that depending how you're image data is stored internally.
Pete |
| |
Oswald
Registered: Apr 2002 Posts: 5020 |
P1 is written in old VB6 and it needed a specific GDI+ version for the export. |
| |
JCB Account closed
Registered: Jun 2002 Posts: 241 |
Quote: P1 is written in old VB6 and it needed a specific GDI+ version for the export.
Riiiiight, I see your problem then ;)
http://www.vbaccelerator.com/home/vb/code/vbmedia/using_gdi_plu..
any use? |
| |
Oswald
Registered: Apr 2002 Posts: 5020 |
Nice find, but it has the same problem: its bound to a specific GDI+, and there's no way telling VB6 what dll to use. (unless you really know your ways)
Also it needs 2 .tlbs not provided. I had enough of alien code.
The provided exe does not start up, guess it doesnt likes my GDI+ version.. :) |
| |
JCB Account closed
Registered: Jun 2002 Posts: 241 |
Kinda seems like living in the dark ages using VB6. I'd suggest updating it to .net but that brings a whole new load of problems :)
|
... 4 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |