DESING AND DRAWING
I HAVE A BIG DOUBT ABOUT THIS, LET SAY I DRAW A MAP WITH THE
PEN TOOL IN FIREWORKS AND SAVE IT AS .PNG WHEN I OPEN OR IMPORT THE
FILE IN FLASH 8 TO CREATE MY ANIMATION BUTTONS, ETC THE DESIGN LOST
RESOLUTION IT BECOMES AL BLURRY, WHAT IS THE BEST WAY TO DO THIS
USE PHOTOSHOP CS?
You may have the resolution of the image set too high in
Fireworks.
Flash uses screen resolution, 72 dpi.
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/
Similar Messages
-
Urgent help needed!! Layout table and Draw layout cell dissapeared.
I need some urgent help. I'm using CS3 but for a while my
Layout Table and Draw Layout Cell icons appear greyed and can't use
them at all. Is there any kind soul out there who knows how to fix
this? I'm going nuts trying all the possible options but none seem
to work.
Help please!!!!!!> How would you about designing a page without using html?
You don't. But I don't recall suggesting that you not use
HTML. I just
suggested that you use best-practice HTML, no? Or maybe you
meant to ask
how you would go about building your site without learning
HTML? In that
case, I think you are outta luck. Using DW without knowing
HTML is a very
punishing experience, I'm afraid.
> PS: A virtual box of 12 bottles of Moet Chandon is
already on your way!!
I'd prefer Cristal, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Untersberg" <[email protected]> wrote in
message
news:g4tj9a$m5o$[email protected]..
> Ahhhhhh!!!!! They came up!!!! They came up again!!
> I was on standard mode. Now going back to your
suggestion, which I really
> appreciate. How would you about designing a page without
using html? I'm
> just
> redesigning my website at the moment and need it to get
going urgently,
> hence
> the reluctance to start learning HTML at the moment.
I'll do after but I
> need
> to get this up and running fairly quickly.
>
> Cheers.
>
> PS: A virtual box of 12 bottles of Moet Chandon is
already on your way!!
> -
Read .txt file of numbers and draw
Hello.
I am trying to utlize BufferedReader and g.drawline to read numbers from a text file and output to the screen as a "line".
I know I still need a while loop and some error checking, but, am having trouble finishing the more 'basic' portion of the code.
The GUI class is already taken care of. I am just trying to open the file, read, turn to int, produce lines, then close file.
I have commented out some of the code that was provided with the assignment.
Any help would be appreciated.
Thank you.
import javax.swing.*;
import java.awt.*;
* DrawingPanel creates a panel used for drawing
* a map
* Numbers stored in text file, usa.txt.
* one number per line. Read each number
* create a map on screen. GUI provided in a
* 2nd class.
public class DrawingPanel extends JPanel {
/** Graphics object used for drawing on the panel */
private Graphics g;
/** Tells if it is time to draw */
private boolean timeToDrawPath;
/** The filename of the hurricane path */
//private String pathFile;
private String usa.txt;
* Creates a new, white DrawingPanel for drawing the maps
public DrawingPanel() {
setBackground(Color.white);
this.timeToDrawPath = false;
//this.pathFile = null;
this.usa.txt = null;
* This method is called automatically by Java. There will NEVER
* be a direct call to paint() anywhere in the code. Anytime that we
* need to update what is drawn on the screen, we call repaint().
* @param grph The graphics window to paint
public void paint(Graphics grph) {
g = grph;
super.paint(g);
processUSA();
if (timeToDrawPath){
drawPath();
* Reads the USA coastline coordinates from a file and draws the path
* to the panel
public void processUSA( ) {
//just an example of how to draw a single
//line segment from (50,50) to (200,200)
//g.drawLine( 300, 50, 200, 200);
//Insert the while loop here??
//Include the parse.Int statement
//Open the file
String inFile = ("usa.txt");
FileReader fileReader = new FileReader (inFile);
//BufferedReader bufReader = newBufferedReader (fileReader);
BufferedReader bufReader=newBufferedReader (new fileReader ("usa.txt"));
//Insert beginning of while loop here????
//read data from the file
String str=bufReader.readLine();
g.drawLine(x1,y1,x2,y2);
}Yep, you are right in deciding the positioning of the while loop.
But the folly you are committing is while creating object of BufferedReader ... It is to be created by passing to the constructor, the reference of the FileReader object you have created.
so the line of code shud look like ...
BufferedReader bufReader = new BufferedReader(FileReaderObject);
And then you can go ahead with readLine() as per your requirement in the while loop. -
What are your preferred word processing and drawing apps?
I currently use LibreOffice for most purposes, because it has both word processing and drawing software built-in, because it can read many file formats, without as much trouble as most other office suites. Unfortunately, while it can import AppleWorks word-processing documents, it can't import drawings, spreadsheets, etc., and while it can import older Word word-processing documents, it tends to corrupt the tables, the fancier quotes, etc. Also unfortunately, it does not work well with speech-to-text/dictation, not that dictation works well. Also unfortunately, it sometimes screws up imported images.
I try to minimize formatting to avoid that in the future.
I used to use Appleworks for most purposes, but it isn't supported anymore.
I tried TextEdit, but it doesn't allow me to save different versions of the same document, or a new document based on an old document, it screws with page margins, and it doesn't have drawing software. I used to use Word, and at one point used Pages, but there are all sorts of issues with their file formats and incompatibilities between different versions.
I would like a functional but not excessively fancy word-processing and drawing tool, and either as part of that, or in addition to that, a suitable version comparison tool. I draw a lot of maps, so the drawing program has to respect scale, and I have coordination problems, so it has to make it easy to put the right object in the right place. I've had trouble with that in LibreOffice.
So in general, what word processing and office suite software do you think works for your needs, or would work for my or other people's needs?http://itunes.apple.com/ca/app/pages/id361309726?mt=8
http://itunes.apple.com/us/app/numbers/id361304891?mt=8
http://itunes.apple.com/ca/app/documents-to-go-premium-office/id317107309?mt=8 -
Editing Pdfs using the Annotations and Drawing Markups
I regularly use the Annotations and Drawing markups on Pdfs on Mac to edit, but since updating to Adobe Reader 11 everything has gone haywire. The Pdf freezes constantly. Although I can still edit on screen, none of the Markup shows in the toolbar so I can't use it to review or navigate around the Pdf. I can't delete the Pop-ups or markup by right clicking as usual. The Save button in the top toolbar doesn't work - I have to go to the Drop down menu, which takes longer. It's impossible to close any Pdfs by clicking the red top left button - I have to go to the Drop down menu to close. It's hopeless! Any suggestions?
I have Adobe Reader XI version 11.0.9 and Mac OS X version 10.6.8. I wonder now if I have the right version ...
-
App for typing notes and drawing freely?
Hello,
I am searching for a good iPad app that lets me type notes with the screen keyboard and draw freely anywhere if needed. I have used Pages for typing and now I discovered Paper which is quite nice for drawing. Only if these two could be merged into one.
PaperDesk and Moleskine are the ones I have liked the best so far. PaperDesk lets me zoom for drawing so it might be my favorite so far. I just started using the Jot Pro Stylus for drawing and find it pretty good.
Anyone of you found something even better or liking it so much that you have stopped searching..?I would suggest using Evernote to type notes and then an app made by Evernote called 'Penultimate' for taking free-hand notes, if you create an account (very simple to do) and sign in on both apps, your handwritten and typed notes will sync into the main Evernote app. Handwritten notes are even searchable in the same way as a typed note through image recognition technology.
-
Wich pen do you guys recommend to use on ipad air 2 to write and draw?
Wich pen do you guys recommend to use on ipad air 2 to write and draw?
Im new at ipad.
I have download the Paper, but I just want to use a pen with all applications.
If possible a pen that doesn´t leave the hand mark´s on the screen.
Sorry about the english! -
Photo editor: fade a photo and draw on top of it?
I want to "fade" JPG pictures of people and then draw on top of them with a brush tool to emphasize posture (for instructional purposes) and save as a JPG. By "fade" I mean lighten the pic so that my drawn lines will stand out.
It appears that GIMP will do this. Can you also do that with SeaShore? In their documentation it is not clear to me; I get bogged down with tech lingo about layers and transparent colors and so on. My goal is to find a tool to do the above without getting something way more sophisticated than I need. Thanks for any help.
FranI'm not familar with GIMP, but I can shed some light onto the layers and transparency you would need to use.
Layers are quite simple. They are like a stack of papers, you can see the page on top, and the page below if it sticks out beyond the edges of the top sheet. The same is true in photo programs. You will see the top layer, and things behind it will be obscured by the objects or images on the top layer.
Transparency is the "fade" you are looking for. Note that Opacity is the opposite of transparency (as in 100% opaque is 0% transparent). My reducing transparency on a layer, you allow the layers behind it to become partially visible, IE you allow them to sneak through.
To accomplish your goal, should should take the images, and fade them by reducing their opacity. I would start with reducing it to 70%, but you'll have to play with it to get things just right.
After doing this, create a new layer, and be sure the new layer is on top off the image layer. In this new layer, take a brush tool and draw whatever you like. You should see you drawing ontop of the photo. If not, I suspect you have actually placed your line layer behind your photo layer, and you should simply trade their locations.
Hope this helps, -
Tool for the coding of pl/sql and drawing the flow chart
dear sir,
please kindly recommend one tool for the coding, debuging the
pl/sql and drawing the flow chart.
thanksHello,
You can use Tools Provided by KeepTool It includes,
1. ER Diagrammer
2. SQL Editior
3. HORA,DBA Tool
4. Pl/SQl Debugger
www. keeptool.com
www.keeptool.de
Adi -
Populate datagrid and draw linechart based on xmlList
I am generating dynamic xml structure like this
<root>
<OPVector>
<Distance>0</Distance>
<Height1>100</Height1>
<Height2>200</Height2>
<Height3>300</Height3>
</OPVector>
<OPVector>
<Distance>100</Distance>
<Height1>200</Height1>
<Height2>300</Height2>
<Height3>400</Height3>
</OPVector>
<OPVector>
<Distance>200</Distance>
<Height1>300</Height1>
<Height2>400</Height2>
<Height3>500</Height3>
</OPVector>
</root>
What i have to do is to populate data grid based on this xml structure and draw a line chart where distance is category axis (x-axis) and Height1, Height2 etc are line series . No of Height fields depends on how many height values are entered by user (in text field Height1, Height2, Height3, Height4, Height5,Height6).
Given is the code of my application ....
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="905" height="482" creationComplete="init();">
<mx:Script>
<![CDATA[
import mx.events.IndexChangedEvent;
private var dataProvider:XMLList = new XMLList();
private var initDist:int ;
private var offset:int ;
private var finalDist:int;
private var height1:int;
private var height2:int;
private var height3:int;
private var height4:int;
private var height5:int;
private var height6:int;
private var heat:int;
private var dataOP:XMLList;
public function init():void{
initDist = parseInt(txtInitDist.text);
offset = parseInt(txtOffset.text);
finalDist = parseInt(txtFinalDist.text);
height2 = parseInt(txtHeight1.text);
height2 = parseInt(txtHeight2.text);
height3 = parseInt(txtHeight3.text);
height4 = parseInt(txtHeight4.text);
height5 = parseInt(txtHeight5.text);
height6 = parseInt(txtHeight6.text);
heat = parseInt(txtHeat.text);
public function getOP():void{
dataOP = createXMLObject();
currentState='stateOP';
trace(dataOP.toXMLString());
} // public function getOP():void{
public function createXMLObject():XMLList{
var data:XMLList = XMLList(<root></root>);
for (var i:int=initDist;i<=finalDist;i+=offset){
var x:XMLList = new XMLList(<OPVector></OPVector>);
var distance:String = "<Distance>"+i+"</Distance>";
var strHeight1:String = "<Height1>"+(parseInt(txtHeight1.text)+i)+"</Height1>";
var strHeight2:String = "<Height2>"+(parseInt(txtHeight2.text)+i)+"</Height2>";
var strHeight3:String = "<Height3>"+(parseInt(txtHeight3.text)+i)+"</Height3>";
var strHeight4:String = "<Height4>"+(parseInt(txtHeight4.text)+i)+"</Height4>";
var strHeight5:String = "<Height5>"+(parseInt(txtHeight5.text)+i)+"</Height5>";
var strHeight6:String = "<Height6>"+(parseInt(txtHeight6.text)+i)+"</Height6>";
x.appendChild(distance);
if (txtHeight1.text != ""){
x.appendChild(strHeight1);
if (txtHeight2.text != ""){
x.appendChild(strHeight2);
if (txtHeight3.text != ""){
x.appendChild(strHeight3);
if (txtHeight4.text != ""){
x.appendChild(strHeight4);
if (txtHeight5.text != ""){
x.appendChild(strHeight5);
if (txtHeight6.text != ""){
x.appendChild(strHeight6);
data.appendChild(x);
} // for (var i:int=initDist;i<finalDist;i+=offset){
return data;
} // public function createXMLObject():void
]]>
</mx:Script>
<!-- States Definition -->
<mx:states>
<mx:State name="stateOP">
<mx:RemoveChild target="{btnOP}"/>
<mx:RemoveChild target="{btnThermal}"/>
<mx:RemoveChild target="{txtHeight5}"/>
<mx:RemoveChild target="{txtHeight6}"/>
<mx:RemoveChild target="{txtFinalDist}"/>
<mx:RemoveChild target="{label1}"/>
<mx:RemoveChild target="{label2}"/>
<mx:RemoveChild target="{label3}"/>
<mx:RemoveChild target="{txtHeight3}"/>
<mx:RemoveChild target="{txtHeight4}"/>
<mx:RemoveChild target="{txtOffset}"/>
<mx:RemoveChild target="{label4}"/>
<mx:RemoveChild target="{label5}"/>
<mx:RemoveChild target="{label6}"/>
<mx:RemoveChild target="{txtHeight1}"/>
<mx:RemoveChild target="{txtHeight2}"/>
<mx:RemoveChild target="{txtInitDist}"/>
<mx:RemoveChild target="{label7}"/>
<mx:RemoveChild target="{label8}"/>
<mx:RemoveChild target="{label9}"/>
<mx:RemoveChild target="{txtHeat}"/>
<mx:RemoveChild target="{label13}"/>
<mx:AddChild position="lastChild">
<mx:DataGrid x="57" y="112" width="274" height="336" id="dgPressure" dataProvider="{dataOP}">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="col1"/>
<mx:DataGridColumn headerText="Column 2" dataField="col2"/>
<mx:DataGridColumn headerText="Column 3" dataField="col3"/>
</mx:columns>
</mx:DataGrid>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:LineChart x="382" y="112" id="lcOverPressure" width="513" height="182">
<mx:series>
<mx:LineSeries displayName="Series 1" yField=""/>
</mx:series>
</mx:LineChart>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:Legend dataProvider="{lcOverPressure}" x="810" y="51"/>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:Button x="382" y="426" label="Close" id="btnClose" click="currentState=''"/>
</mx:AddChild>
</mx:State>
<mx:State name="stateTR">
<mx:RemoveChild target="{txtHeat}"/>
<mx:RemoveChild target="{txtHeight1}"/>
<mx:RemoveChild target="{txtHeight3}"/>
<mx:RemoveChild target="{txtHeight5}"/>
<mx:RemoveChild target="{txtHeight2}"/>
<mx:RemoveChild target="{txtHeight4}"/>
<mx:RemoveChild target="{txtHeight6}"/>
<mx:RemoveChild target="{txtInitDist}"/>
<mx:RemoveChild target="{txtOffset}"/>
<mx:RemoveChild target="{txtFinalDist}"/>
<mx:RemoveChild target="{label13}"/>
<mx:RemoveChild target="{label7}"/>
<mx:RemoveChild target="{label4}"/>
<mx:RemoveChild target="{label3}"/>
<mx:RemoveChild target="{label8}"/>
<mx:RemoveChild target="{label5}"/>
<mx:RemoveChild target="{label1}"/>
<mx:RemoveChild target="{label9}"/>
<mx:RemoveChild target="{label6}"/>
<mx:RemoveChild target="{label2}"/>
<mx:RemoveChild target="{btnOP}"/>
<mx:RemoveChild target="{btnThermal}"/>
<mx:AddChild position="lastChild">
<mx:DataGrid x="39" y="108" width="301" height="364">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="col1"/>
<mx:DataGridColumn headerText="Column 2" dataField="col2"/>
<mx:DataGridColumn headerText="Column 3" dataField="col3"/>
</mx:columns>
</mx:DataGrid>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:LineChart x="420" y="108" id="linechart1" width="475" height="181">
<mx:series>
<mx:LineSeries displayName="Series 1" yField=""/>
</mx:series>
</mx:LineChart>
</mx:AddChild>
<mx:AddChild position="lastChild">
<mx:Legend dataProvider="{linechart1}" x="810" y="13"/>
</mx:AddChild>
</mx:State>
</mx:states>
<!-- States Definition -->
<!-- Controls Definition -->
<mx:TextInput x="331" y="95" width="62" id="txtHeat" text="8"/>
<mx:TextInput x="231" y="229" width="62" id="txtHeight1" text="100"/>
<mx:TextInput x="231" y="259" width="62" id="txtHeight3" text="300"/>
<mx:TextInput x="231" y="289" width="62" id="txtHeight5"/>
<mx:TextInput x="357" y="229" width="62" id="txtHeight2" text="200"/>
<mx:TextInput x="357" y="259" width="62" id="txtHeight4"/>
<mx:TextInput x="357" y="289" width="62" id="txtHeight6"/>
<mx:TextInput x="580" y="229" width="62" id="txtInitDist" text="0"/>
<mx:TextInput x="580" y="259" width="62" id="txtOffset" text="100"/>
<mx:TextInput x="580" y="289" width="62" id="txtFinalDist" text="2000"/>
<mx:Label x="298" y="97" text="Heat" id="label13"/>
<mx:Label x="168" y="231" text="Height1" id="label7"/>
<mx:Label x="168" y="261" text="Height3" id="label4"/>
<mx:Label x="168" y="291" text="Height5" id="label3"/>
<mx:Label x="302.5" y="231" text="Height2" id="label8"/>
<mx:Label x="301" y="261" text="Height4" id="label5"/>
<mx:Label x="301" y="291" text="Height6" id="label1"/>
<mx:Label x="484" y="231" text="Initial Distance" id="label9"/>
<mx:Label x="533" y="261" text="Offset" id="label6"/>
<mx:Label x="490" y="291" text="Final Distance" id="label2"/>
<mx:Button x="298.5" y="384" label="Pressure Effects" id="btnOP" click="getOP()"/>
<mx:Button x="464.5" y="384" label="Thermal Effects" width="142" id="btnThermal"/>
<mx:Label x="298" y="10" text="Weather Effects" fontWeight="bold" fontSize="18"/>
<!-- Controls Definition -->
</mx:Application>I suggest that you first not try to cram all of your code into the MXML. Though many examples use this approach for quick copy-and-pasting, it is bad style and not as maintainable. You should use the code-behind approach where your MXML is strictly for layout of the view and its root element is a custom class that extendeds the usual base (in this case Application).
Since the number of series in your line cart may vary, what you will need to do is dynamically create them whenever the data provider is updated. -
Does anyone know if whilst in freehand drawing mode it's possible to navigate and move around the document? Would make my life so much easier to add notes to docs =/
This is a good suggestion, but there is no way to navigate while drawing. We elected to do this because we thought it would be confusing to users because they are using the same gesture for drawing that we currently use for panning. It might be possible for us to add a "navigation toggle" that toggles between navigation and drawing while using the freehand tool, but we thought this would be confusing too.
We do appreciate the feedback and will take it into consideration as we enhance this and other features in the future.
Thank you!
Pat -
Good Morning,
I am a teacher at a middle school that created the majority of my curriculum around Appleworks. It has been my summer project to restructure next year to use iWork and MS Office in my class. However I am having trouble replacing classroom projects that use Paint and Draw. Can anyone recommend an application or applications that are simple enough for 7th and 8th graders?CinePaint, free
http://www.cinepaint.org/
EasyDraw, from $95 to $139 (9 moths license $20)
http://www.eazydraw.com/
Imaginator, $49
http://www.stone.com/iMaginator/iMaginator.html
LiveQuartz, free
http://www.livequartz.com/
MacEtegami, free
http://www.googolplex.co.jp/us/software/macetegami.html
PaintBrush, free
http://paintbrush.sourceforge.net/
Poster Paint, free
http://www.robbieduncan.net/cgi-bin/get_file.cgi?file=projects/mac/posterpaint/i ndex
SeaShore, free
http://seashore.sourceforge.net/
The Gimp, free but requires X11
<http://gimp-app.sourceforge.net/>
Tux Paint, free
http://www.tuxpaint.org/?lang=fr
If you want vectorial tools:
DrawIt 3, $39
http://www.getdrawit.com/
Inkscape, free requires X11
<http://sourceforge.net/project/downloading.php?groupname=inkscape&filename=Inks cape-0.45.1-1-TIGER.UNIVERSAL.dmg&use_mirror=kent>
Yvan KOENIG (from FRANCE jeudi 31 juillet 2008 20:31:13) -
Acquiring from bluetooth spp and draw signal
Dear Sir:
I'm using labview 8.5
How can I use bluetooth vis to draw ecg signals coming from adc and sended to bluetooth module(as server) , and draw it??
I've saw bluetooth client examples but I still need help
thanks for help
SajedHi,
We have a similar problem. We're trying to visualize an ECG signal using a Bluetooth connection and LabView 8.
The Bluetooth module we are using is a Parani ESD-200, and it works using the Serial Port Profile (SPP); we also have a MSI Bluetooth dongle which allow us to create a Virtual Comm and connect the Laptop and the ECG.
We are using VISA to write and read from the virtual port; we don't have any problem with the reading, we configure and open the port and read the input data, but when we try to write, LabView doesn't recognize the port.
The funny thing is that the data we try to send with LabView IS sent to the port, we know that because we programmed the DSP to turn on a led when it recibes any data in the input buffer...
So, we don't know why LabView gives us that error, we'll be very thankful if anybody can help us...
P.D. The error LabView gives is:
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.
Mensaje editado por Luego -
Regarding Table DRAD and DRAW.
Hi
I want to understand the structure and relationship between DRAD and DRAW table. And what is the object key actually in DRAD table represents.Hello,
DRAW is the DocumentInfoRecord header table and the DRAD stores the object links to the DocumentInfoRecord viz., ChangeNumber, Material, DocuumentInfoRecord, Vendor and so on....
Object key is the key of the object link.
for example <MATNR> - Material Number in case the object link is Material,
<DOKAR><DOKNR><DOKVR><DOKTL> - Keys of the DocumentInfoRecord
Hope this helps.
Best Regards, Murugesh AS -
Having a problem with image IO and drawing image
My question did not come out on the other posting. I am getting them image from a JPanel. I then convert the image into a renderedimage. Use the ImageIO.write method to convert to png format. I don't want to save the image on the local disk so it is writted to a ByteArrayOutputStream. I get the bytes from this and insert this into a blob field type.
Then to paint the image onto the JPanel I try two methods to paint it on to the JPanel. I set the JPanel to be the width and size of the image. But I am getting a null pointer exception and I can't figure out why. If anyone could give me any suggestions I would really appreciate it.
rImage = convertToRenderedImage(draw.drawPanel.offScreen, width11, drawPanelHeight, type);
try{
bo = new ByteArrayOutputStream();
ImageIO.write(rImage, "png", bo);
imageBytes = bo.toByteArray();
}catch(IOException iox3)
System.err.println(iox3);
PreparedStatement statement12 = connection.prepareStatement(
"INSERT INTO feed VALUES(?,?,?,?,?,?);");
statement12.setBytes(2, imageBytes);
icon = new ImageIcon(rs.getBytes("file"));
image = icon.getImage();
//base is the JPanel
Graphics g2d = base.getGraphics();
bytes = rs.getBytes("file");
bInput = new ByteArrayInputStream(bytes);
try
bImage = ImageIO.read(bInput);
catch(IOException e21)
System.out.println("Error in imageIO transformation");
//image is Image and bimage is bufferedimage
image = bImage;
Graphics g2d = base.getGraphics();
g2d.drawImage(image, 0, 0, base);
g2d.drawImage(image, 0, 0, base);Would it be possible for you to send out a small runnable testcase that I could try out with?
Thanks,
Kannan
Maybe you are looking for
-
Help to boost the performance of my proxy server
Out of my personal interest, I am developing a proxy server in java for enterprises. I've made the design as such the user's request would be given to the server through the proxy software and the response would hit the user's browsers through the pr
-
Can I buy applecare on a product for more than 3 years?
Apple Care is expiring on product in August. Would like to know if I can purchase another Apple Care to extend coverage or is there a limit on coverage?
-
I HAD ALL MY SONGS ON MY IPOD AND NOW THERE GONE
ALL MY SONGS ARE IN MY LIBRARY BUT I CLICK UPDATE AND IT SAYS UPDATING BUT NOTHING HAPPENS. IT HAPPENED TO ME BEFORE BUT I FIXED IT EASILY BUT THIS TIME ITS ALITTLE DIFFERENT PLESE TELL ME TODAY 2/27/06
-
Hi! It's me again, he9x...I'm currently studying on Layout Managers, I manage to put together this code, by attempting to make a simple calculator, ahm when I run javac TestLayout there are no errors but when I run it using java, I get Exception in t
-
TS1500 Windows does not recognize the iPhone as existing, though iTunes can see it.
Windows does not recognize the iPhone as existing, though iTunes can see it.